9 ms·
All the functions in that code return numbers.
by mschoebel 12y ago
All the functions in that code return numbers.
- d4n3 12y agoAh ok. At first glance it looked like he was putting together something like an url.
- alexsop2 12y agoMaking [`.reduce`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/Reduce https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...) a significantly better choice.