archives

« Bugzilla Issues Index

#3739 — 8.1.1.3.1 BindThisValue(V): delete spurious step 2 + invert steps 3 & 4


8.1.1.3.1 BindThisValue(V)

2. Assert: envRec.[[thisInitializationState]] is false.

That assertion is not true in general; current step 4 cares for it.

Moreover, I would place current step 4 (checking [[thisInitializationState]]) before current step 3 (set [[thisValue]]), because if the ThisValue is already initialised, it is strange to successfully reinitialise it with another value (step 3) and pretend that the operation has failed (step 4).


fixed in rev33 editor's draft


fixed in rev33