I want to get two smallest numbers from array with three numbers
I can only get one smallest number from array. I can't get two numbers. Can anyone help me?
var array = [2, 3, 5];
var min = Math.min(array[0], array[1], array[2]);
console.log(min)