Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get highest value in array of object javascript

Math.max.apply(Math, array.map(function(o) { return o.y; }))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #highest #array #object #javascript
ADD COMMENT
Topic
Name
8+7 =