Open xjamundx opened 9 years ago
We could consider converting something like:
this.on('event', function(){ }.bind(this))
to
this.on('event', () => { })
Provided the only parameter passed to bind
is the keyword this
, and that the function is not named?
Probably you should have some more fat arrows
map/filter
things should be()