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
if you (or, someone here) are free to use lodash utility library, it has a maxBy function which would be very handy in your case.
lodash
hence you can use as such:
_.maxBy(jsonSlice, 'y');