archives

« Bugzilla Issues Index

#3241 — 12.2.4.1.2, 12.14.5.3, 13.2.3.6, 21.2.5.5: CreateDataPropertyOrThrow can be replaced with CreateDataProperty


12.2.4.1.2 Runtime Semantics: ArrayAccumulation
SpreadElement : ... AssignmentExpression
Step 5.h

12.14.5.3 Runtime Semantics: IteratorDestructuringAssignmentEvaluation
AssignmentRestElement[Yield] : ... DestructuringAssignmentTarget
Step 4.f

13.2.3.6 Runtime Semantics: IteratorBindingInitialization
BindingRestElement : ... BindingIdentifier
Step 3.f

21.2.5.5 RegExp.prototype.match ( string )
Step 8.f.iv.6


CreateDataPropertyOrThrow + ReturnIfAbrupt should be replaced with CreateDataProperty + Assertion, cf. 7.3.13, 21.1.3.17, 21.2.5.2.2, 21.2.5.10, 22.1.5.2.1, 23.1.5.2.1, 23.2.5.2.1, 26.2.5.2.1 for similar places where CreateDataProperty + Assertion is already used today.


fixed in rev28 editor's draft


fixed in rev28