Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

maximum number of an array

var arr = [1, 2, 3];
var max = Math.max(...arr);
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #maximum #number #array
ADD COMMENT
Topic
Name
3+4 =