4 ms·
sure, if I would write code like that it wouldn't bother me too. const add = x => y => x +y; ... [1,2,3,4].map(add(1)); now we are talking ;)
by k__ 9y ago
sure, if I would write code like that it wouldn't bother me too.
const add = x => y => x +y;
...
[1,2,3,4].map(add(1));
now we are talking ;)