3 ms·
> It makes it harder to read the code I think it makes it much easier to read the code. Assigning it to a variable gives a nice, short description of what you'
by simplify 12y ago
> It makes it harder to read the code
I think it makes it much easier to read the code. Assigning it to a variable gives a nice, short description of what you're actually working with.
- lfuller 12y agoBy using arrow functions it's simply implied that the top level context is always being used. You don't have to define what "this" is, since it's always "this".