WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 44d79b2

Browse files
michaelficarraljharb
authored andcommitted
Editorial: use a fresh alias for _F_.[[Index]] (#3732)
1 parent 277490a commit 44d79b2

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

spec.html

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49292,8 +49292,8 @@ <h1>
4929249292
1. Let _F_ be the active function object.
4929349293
1. If _F_.[[AlreadyCalled]] is *true*, return *undefined*.
4929449294
1. Set _F_.[[AlreadyCalled]] to *true*.
49295-
1. Let _index_ be _F_.[[Index]].
49296-
1. Set _values_[_index_] to _value_.
49295+
1. Let _thisIndex_ be _F_.[[Index]].
49296+
1. Set _values_[_thisIndex_] to _value_.
4929749297
1. Set _remainingElementsCount_.[[Value]] to _remainingElementsCount_.[[Value]] - 1.
4929849298
1. If _remainingElementsCount_.[[Value]] = 0, then
4929949299
1. Let _valuesArray_ be CreateArrayFromList(_values_).
@@ -49363,7 +49363,8 @@ <h1>
4936349363
1. Let _obj_ be OrdinaryObjectCreate(%Object.prototype%).
4936449364
1. Perform ! CreateDataPropertyOrThrow(_obj_, *"status"*, *"fulfilled"*).
4936549365
1. Perform ! CreateDataPropertyOrThrow(_obj_, *"value"*, _value_).
49366-
1. Set _values_[_F_.[[Index]]] to _obj_.
49366+
1. Let _thisIndex_ be _F_.[[Index]].
49367+
1. Set _values_[_thisIndex_] to _obj_.
4936749368
1. Set _remainingElementsCount_.[[Value]] to _remainingElementsCount_.[[Value]] - 1.
4936849369
1. If _remainingElementsCount_.[[Value]] = 0, then
4936949370
1. Let _valuesArray_ be CreateArrayFromList(_values_).
@@ -49379,7 +49380,8 @@ <h1>
4937949380
1. Let _obj_ be OrdinaryObjectCreate(%Object.prototype%).
4938049381
1. Perform ! CreateDataPropertyOrThrow(_obj_, *"status"*, *"rejected"*).
4938149382
1. Perform ! CreateDataPropertyOrThrow(_obj_, *"reason"*, _error_).
49382-
1. Set _values_[_F_.[[Index]]] to _obj_.
49383+
1. Let _thisIndex_ be _F_.[[Index]].
49384+
1. Set _values_[_thisIndex_] to _obj_.
4938349385
1. Set _remainingElementsCount_.[[Value]] to _remainingElementsCount_.[[Value]] - 1.
4938449386
1. If _remainingElementsCount_.[[Value]] = 0, then
4938549387
1. Let _valuesArray_ be CreateArrayFromList(_values_).
@@ -49446,7 +49448,8 @@ <h1>
4944649448
1. Let _F_ be the active function object.
4944749449
1. If _F_.[[AlreadyCalled]] is *true*, return *undefined*.
4944849450
1. Set _F_.[[AlreadyCalled]] to *true*.
49449-
1. Set _errors_[_F_.[[Index]]] to _error_.
49451+
1. Let _thisIndex_ be _F_.[[Index]].
49452+
1. Set _errors_[_thisIndex_] to _error_.
4945049453
1. Set _remainingElementsCount_.[[Value]] to _remainingElementsCount_.[[Value]] - 1.
4945149454
1. If _remainingElementsCount_.[[Value]] = 0, then
4945249455
1. Let _aggregateError_ be a newly created *AggregateError* object.

0 commit comments

Comments
 (0)