
When this is used in an arrow function, this will be the this value in the surrounding lexical scope. Arrow functions change MANY things, so there are two best practices you need to know. Don’t create methods with arrow functions Create functions IN...
Just a developer :)
I'm just a developer who loves to share what I discovered. I primarily blog at http://zellwk.com and cross-post to this website :)
Markdown supported · ⌘↵ to post
Francisco Quintero
Very nice article.
Question: Why create a function within/inside a method (besides the example provided here)?