Hacker News new | ask | show | jobs
by unilynx 2516 days ago
arrow functions are not just a function() alternative, but they solve the whole 'var self = this'/'.bind(this)' boilerplate.

It's one of the best JS improvements of the last 10 years.