Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

max value array of object javascript

Math.max(...arr.map(({ value }) => value));
Source by www.reddit.com #
 
PREVIOUS NEXT
Tagged: #max #array #object #javascript
ADD COMMENT
Topic
Name
4+2 =