Answers for "index of array smallest value"

1

get smallest value in array js

var test=[1, 2, 4, 77, 80];
console.log("Smallest number in test: "+Math.floor(Math.min(test)));
Posted by: Guest on April-24-2021

Code answers related to "index of array smallest value"

Code answers related to "Javascript"

Browse Popular Code Answers by Language