I\'d like to sum the values of an object.
I\'m used to python where it would just be:
sample = { \'a\': 1 , \'b\': 2 , \'c\':3 }; summed = sum(sampl
If you're using lodash you can do something like
_.sum(_.values({ 'a': 1 , 'b': 2 , 'c':3 }))