find max value of object in array plus object indexd code example Example: max value array of object javascript Math.max(...arr.map(o => o.value));