In an array of objects, I'd like to select the one that has the largest value in one of it's fields.
I get how to select the value itself:
Math.max.apply(Math, list.map(function (o) { return o.DisplayAQI; }))
... but I am not sure how to do the above but return the object itself.