archives

« Bugzilla Issues Index

#3607 — 8.1.2.4 NewFunctionEnvironment, 9.2.2.1 PrepareOrdinaryCall: Add "newTarget" parameter to NewFunctionEnvironment


8.1.2.4 NewFunctionEnvironment (F) Abstract Operation
9.2.2.1 PrepareOrdinaryCall( F, newTarget )

Instead of plugging the environment record from the lexical environment in 9.2.2.1 steps 10-11 to set [[NewTarget]], NewFunctionEnvironment could directly set the [[NewTarget]] field.


fixed in rev33 editor's draft


fixed in rev33