shawndumas
searching PlanetScale…
- 1.▲
- 2.▲
- 3.▲
- 4.▲
- 5.▲
- 6.▲
2307 ms·
- 8791.▲
- 8792.▲
Do you mean like this? var sum = function (a) {
return _(a).reduce(function (m, n) {
return m + n;
}, 0);
};
sum([1,2,3,4,5,6,7,8,9]); // => 45
Or am I not getting you? - 8793.▲
- 8794.▲
- 8795.▲
- 8796.▲
- 8797.▲
- 8798.▲
- 8799.▲
- 8800.▲
- 8801.▲
- 8802.▲
- 8803.▲
- 8804.▲
- 8805.▲
- 8806.▲
- 8807.▲
- 8808.▲
- 8809.▲
- 8810.▲
- 8811.▲
- 8812.▲
- 8813.▲
- 8814.▲
- 8815.▲
- 8816.▲
- 8817.▲
- 8818.▲
- 8819.▲
- 8820.▲
More ›