I have the following object:
{\"speed\":299,\"equipment\":49,\"teleabb\":49,\"additional\":50,\"optional\":\"299\"}
I want to sum all this
var sum = 0; for(var key in objects) { sum += parseInt(objects[key]); } console.log(sum);