Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js get smallest value of array

Array.min = function( array ){
    return Math.min.apply( Math, array );
};
var minimum = Array.min(array);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #smallest #array
ADD COMMENT
Topic
Name
1+8 =