Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js min number in array

var min = Math.min.apply(null, arr),
    max = Math.max.apply(null, arr);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #min #number #array
ADD COMMENT
Topic
Name
5+8 =