Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Find the maximum number of an array js

function getMaxOfArray(numArray) {
    return Math.max.apply(null, numArray);
}
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #Find #maximum #number #array #js
ADD COMMENT
Topic
Name
3+1 =