Skip to content

Commit

Permalink
[spec] avoid coercion
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Mar 26, 2024
1 parent f01c310 commit 29b08c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec.emu
Expand Up @@ -25,8 +25,8 @@ contributors: Jordan Harband
<p>It performs the following steps when called:</p>

<emu-alg>
1. Let _str_ be ? ToString(_S_).
1. Let _cpList_ be StringToCodePoints(_str_).
1. If _S_ is not a String, throw a TypeError exception.
1. Let _cpList_ be StringToCodePoints(_S_).
1. Let _escapedList_ be a new empty List.
1. For each code point _c_ in _cpList_, do
1. If _escapedList_ is empty and _c_ is matched by |DecimalDigit|, then
Expand Down

0 comments on commit 29b08c3

Please sign in to comment.