I\'m looking for a really quick, clean and efficient way to get the max \"y\" value in the following JSON slice:
[ { \"x\": \"8/11/2009\", \"y\": 0
Here is the shortest solution (One Liner) ES6:
Math.max(...values.map(o => o.y));