archives

« Bugzilla Issues Index

#3338 — 8.1.2.4 NewFunctionEnvironment: Invalid assertion in step 1


8.1.2.4 NewFunctionEnvironment (F, T) Abstract Operation, step 1.

The assertion is no longer valid now that arrow functions also use function environment records. The condition needs to include the value of `T`.

À la:
> Iff T is not empty, then F's [[ThisMode]] is not lexical.


fixed in rev29 editor's draft


fixed in rev29