Closed
Bug 1443030
Opened 6 years ago
Closed 5 years ago
The expression "execution context" is misleading.
Categories
(Developer Documentation Graveyard :: JavaScript, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: andrea.magnabosco, Unassigned)
References
()
Details
:: Developer Documentation Request Request Type: Correction Gecko Version: unspecified Technical Contact: :: Details The sentence "This An arrow function does not have its own this; the this value of the enclosing execution context is used" is misleading: "execution" should be changed to "lexical scope" instead (quote from: Kyle Simpson's "Scope & Closures", p. 77: [arrow functions] "take on the this value of their immediate lexical enclosing scope"). If an arrow function is created inside a function expression in a context "a", and then referenced and executed in a context "b", it maintains the "this" of the orignal context "a".
Updated•6 years ago
|
Priority: P5 → P2
Comment 1•5 years ago
|
||
This was already fixed, so closing. Thanks for reporting!
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•