I am iterating through a collection and calling an attribute that is a numeric value, instead of just showing each value one by one, how do I add them all up into one total sum?
playersCollection.each(function(player) {
    var allPoints = player.get('points');
    alert(allPoints);
});
Above returns like
 0
 10
 5
 3
Instead I want to add those numbers so I get
18 
 
     
    