3 ms·
That's one way to do it, but the typical way is identical to ES6: `() => expression` or `() => { statements }`
by TheCoelacanth 11y ago
That's one way to do it, but the typical way is identical to ES6: `() => expression` or `() => { statements }`