fixes
This commit is contained in:
parent
c4a6c4ffb9
commit
138237e894
3 changed files with 3 additions and 3 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
Let's revisit arrow functions.
|
||||
|
||||
Arrow functions are not just a "shorthand" for writing small stuff.
|
||||
Arrow functions are not just a "shorthand" for writing small stuff. They have some very specific and useful features.
|
||||
|
||||
JavaScript is full of situations where we need to write a small function, that's executed somewhere else.
|
||||
|
||||
|
@ -14,7 +14,7 @@ For instance:
|
|||
|
||||
It's in the very spirit of JavaScript to create a function and pass it somewhere.
|
||||
|
||||
And in such functions we usually don't want to leave the current context.
|
||||
And in such functions we usually don't want to leave the current context. That's where arrow functions come in handy.
|
||||
|
||||
## Arrow functions have no "this"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue