Javascript – Analysing an array of objects data using my function and Math.max
Assuming an array of objects that has a couple hundred fields that look like this [ { "designation":"419880 (2011 AH37)", "discovery_date":"2011-01-07T00:00:00.000", "h_mag":19.7, "moid_au":0.035, "q_au_1":0.84, "q_au_2":4.26, "period_yr":4.06, "i_deg":9.65, "pha":true, "orbit_class":"Apollo" } I'm trying to show the maximum "h_mag" value for all…