Arrow functions

suggest change

Arrow functions automatically bind to the ‘this’ lexical scope of the surrounding code.

performSomething(result => {
  this.someVariable = result
})

vs

performSomething(function(result) {
  this.someVariable = result
}.bind(this))

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:


ES6:
* Arrow functions
* flow

Table Of Contents
1 npm
41 cli
43 grunt
59 Hack
64 ES6
67 Redis
69 MongoDB
86 MongoDB
87 Lodash
91 CORS
105 N-API
108 Require