3 ms·
In sum: "Since the...function was defined as an arrow function rather than the traditional anonymous function, and since it is defined within the lexical scope
by sailfast 10y ago
In sum:
"Since the...function was defined as an arrow function rather than the traditional anonymous function, and since it is defined within the lexical scope of another function X, the value of 'this' is set to the surrounding lexical scope of X [instead of the global]"