Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

math.max

var arr = [1,2,3];
var max = arr.reduce(function(a, b) {
    return Math.max(a, b);
});
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
2+8 =