I have a JSON array that looks something like this:
arr = [{"range":4, "time":56, id:"a4bd"},
{"range":5, "time":65, id:"a4bg"},
{"range":3, "time":58, id:"a4cd"},
{"range":3, "time":57, id:"a4gh"},
{"range":8, "time":60, id:"a5ab"}]
I'd like to know the best way in javascript to find the minimum or maximum value for one of these properties, eg.
min(arr["time"])
or something similar, which would return 56