Arrow Function Best Practice
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...
hashnode.com4 min read
Francisco Quintero
Software Engineer & Ruby on Rails Developer
Very nice article.
Question: Why create a function within/inside a method (besides the example provided here)?