3 ms·
I'm not sure what your proposal is -- use functions that use prototype this or no this, and arrow functions for ones that use contextual this? It's easier to u
by ng12 7y ago
I'm not sure what your proposal is -- use functions that use prototype this or no this, and arrow functions for ones that use contextual this?
It's easier to use arrow functions for everything except for the tiny minority of cases where you want prototype this.