Skip to content

Commit

Permalink
Editorial: Make an alias name more clear
Browse files Browse the repository at this point in the history
  • Loading branch information
gibson042 committed Apr 14, 2022
1 parent 1891813 commit 02888a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -33997,9 +33997,9 @@ <h1>
1. Let _refReplacement_ be the substring of _str_ from min(_tailPos_, _stringLength_).
1. NOTE: _tailPos_ can exceed _stringLength_ only if this abstract operation was invoked by a call to the intrinsic @@replace method of %RegExp.prototype% on an object whose *"exec"* property is not the intrinsic %RegExp.prototype.exec%.
1. Else if _templateRemainder_ starts with *"$"* followed by 1 or more decimal digits, then
1. If _templateRemainder_ starts with *"$"* followed by 2 or more decimal digits, let _d_ be 2. Otherwise, let _d_ be 1.
1. Let _ref_ be the substring of _templateRemainder_ from 0 to 1 + _d_.
1. Let _digits_ be the substring of _templateRemainder_ from 1 to 1 + _d_.
1. If _templateRemainder_ starts with *"$"* followed by 2 or more decimal digits, let _digitCount_ be 2. Otherwise, let _digitCount_ be 1.
1. Let _ref_ be the substring of _templateRemainder_ from 0 to 1 + _digitCount_.
1. Let _digits_ be the substring of _templateRemainder_ from 1 to 1 + _digitCount_.
1. Let _index_ be ℝ(StringToNumber(_digits_)).
1. Assert: 0 &le; _index_ &le; 99.
1. If 0 &lt; _index_ &le; the number of elements in _captures_, then
Expand Down

0 comments on commit 02888a1

Please sign in to comment.