Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to find max number in array javascript

const array1 = [1, 3, 2];
console.log(Math.max(...array1));
Source by www.smashingmagazine.com #
 
PREVIOUS NEXT
Tagged: #find #max #number #array #javascript
ADD COMMENT
Topic
Name
4+4 =