The fastestOne way, in this case, is loopingto loop through all elements, and compare it to the highest/lowest value, so far.
(Creating an array, invoking array methods is overkill for this simple operation).
// There's no real number bigger than plus Infinity var lowest = Number.POSITIVE_INFINITY; var highest = Number.NEGATIVE_INFINITY; var tmp; for (var i=myArray.length-1; i>=0; i--) { tmp = myArray[i].Cost; if (tmp < lowest) lowest = tmp; if (tmp > highest) highest = tmp; } console.log(highest, lowest);