Do ES6 arrow functions have their own arguments or not? [duplicate]

From the spec:

Any reference to arguments, super, this, or new.target within an
ArrowFunction must resolve to a binding in a lexically enclosing
environment.

Therefore, the correct answer would be [1,2,3]. Firefox has fixed the problem in version 43 (bugĀ 889158).

Leave a Comment