archives

« Bugzilla Issues Index

#3021 — 8.1.1.4.2 CreateMutableBinding, 8.1.1.4.3 CreateImmutableBinding: Change ReturnIfAbrupt to if-condition + return


8.1.1.4.2 CreateMutableBinding (N, D), step 4
8.1.1.4.3 CreateImmutableBinding (N), step 4

I guess step 4 should read:

> If alreadyThere is true, then return NormalCompletion(empty).

Or something like that.


fixed in rev27 editor's draft

Made it throw if alreadyThere is true. Presumably, this could only happen via strange side-effects such an ill-behaved Proxy global object.


fixed in rev27 draft