2 ms·
You might be interested in ES6’s arrow functions, which change the behaviour of this to something you might approve of (you didn’t specify how you thought it wa
by robin_reala 11y ago
You might be interested in ES6’s arrow functions, which change the behaviour of this to something you might approve of (you didn’t specify how you thought it was broken):
http://tc39wiki.calculist.org/es6/arrow-functions/ http://tc39wiki.calculist.org/es6/arrow-functions/
- tkubacki 11y agoyea there are many different tactics to tackle this issue - still default behaviour is confusing at best - bad design at worst.