Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Find the maximum number of an array js

Math.max(10, 20);   //  20
Math.max(-10, -20); // -10
Math.max(-10, 20);  //  20
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #Find #maximum #number #array #js
ADD COMMENT
Topic
Name
4+4 =