4 ms·
> A perfect example: I read hey there’s a cool simpler way to write small anonymous functions called arrow syntax. Nice let me try it, hm it’s not working —> go
by djur 5y ago
> A perfect example: I read hey there’s a cool simpler way to write small anonymous functions called arrow syntax. Nice let me try it, hm it’s not working —> google —> arrow functions have no access to ‘this’.
If you try to use a new language feature without reading the documentation first, you will probably run into difficulties. This is not a unique problem to JS.