4 ms·
Fat arrows are increasingly becoming one of my favourite additions. No more `function() {}.bind(this);` since `() => {};` is equivalent. It makes it clearer fo
by Kudos 11y ago
Fat arrows are increasingly becoming one of my favourite additions.
No more `function() {}.bind(this);` since `() => {};` is equivalent. It makes it clearer for the reader that the code block inherits scope.