3 ms·
Browsers already support arrow functions (and did before Node), but there’s no reason to break compatibility with old browsers just to get arrow functions. If
by minitech 10y ago
Browsers already support arrow functions (and did before Node), but there’s no reason to break compatibility with old browsers just to get arrow functions.
If that’s the only thing you’re transforming, my advice would be to stop and just use function () {}.