Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript set value to the largest value in an array

//get min/max value of arrays
function getArrayMax(array){
   return Math.max.apply(null, array);
Source by forum.freecodecamp.org #
 
PREVIOUS NEXT
Tagged: #javascript #set #largest #array
ADD COMMENT
Topic
Name
5+8 =