So, we have an array whose elements are objects
var obj = [ { model : 'a1', speed : 20, locate : "aa" }, { model : 'a2', speed : 30, locate : "bb" }, { model : 'a3', speed : 15, locate : "bc" }, { model : 'a4', speed : 35, locate : "cd" }, ]; Tell me, please, how can I get the sum of all the speed properties of each object, and there may be a random number of objects inside the array.