Skip to content

Commit caa6e3f

Browse files
committed
Editorial: MakeMatchIndicesIndexPairArray: avoid creating a property on undefined (#2714)
This is currently a _potential_ spec bug, not an actual one. This AO is not called such that this would be an error, but there are no assertions to prevent it from being one.
1 parent 4ef9276 commit caa6e3f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spec.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36322,6 +36322,7 @@ <h1>
3632236322
1. Let _matchIndexPair_ be *undefined*.
3632336323
1. Perform ! CreateDataPropertyOrThrow(_A_, ! ToString(𝔽(_i_)), _matchIndexPair_).
3632436324
1. If _i_ &gt; 0 and _groupNames_[_i_ - 1] is not *undefined*, then
36325+
1. Assert: _groups_ is not *undefined*.
3632536326
1. Perform ! CreateDataPropertyOrThrow(_groups_, _groupNames_[_i_ - 1], _matchIndexPair_).
3632636327
1. Return _A_.
3632736328
</emu-alg>

0 commit comments

Comments
 (0)