I am looking for the most efficient way to retrieve the max value from the following object (outputted by dev console on Google) - knowing that the maximum value is 1002 but knowing it can dynamically change:
[Red: 1002, Orange: 24, Blue: 301, Pink: 106]
Any suggestions?