3 ms·
They explicitly do that in ES6: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions https://developer.mozilla.org/en-US
by benologist 12y ago
They explicitly do that in ES6:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
- vortico 12y agoRight, but implementation hadn't caught up to spec since I last checked.
- benologist 12y agoIt's natively supported in typescript and iojs, and babel (prev. 6to5) + other libs enable it in browsers.