3 ms·
If that's what they are for, why call them "arrow functions", and not lambdas like everybody else does?
by douche 11y ago
If that's what they are for, why call them "arrow functions", and not lambdas like everybody else does?
- rhinoceraptor 11y agoJavascript already had lambdas/anonymous functions since the beginning.
- TheCoelacanth 11y agoTo distinguish from javascript's other longer way of writing the same thing: [1, 2, 3, 4].map(function (x) { return x + 1; })