javascript max value array of objects code example Example: find max of array of objects key Math.max.apply(Math, array.map(function(o) { return o.y; }))