Skip to content

Instantly share code, notes, and snippets.

Created February 8, 2017 18:27
What would you like to do?
Sum up some values
.map(function(index, value){
return $(value)
.replace(',', '')
return parseFloat(value);
.reduce(function(a, b){
return a + b;
}, 0);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment