3 ms·
To add to the other explanations: it's also important to point out that arrow functions are slightly different from regular functions in that they don't redefin
by pluma 10y ago
To add to the other explanations: it's also important to point out that arrow functions are slightly different from regular functions in that they don't redefine `arguments` and `this` so these keywords behave like any other variable would in a closure.
So it's not just a syntactic shorthand but there's also a semantic difference.