Skip to content

Commit

Permalink
[spec] use StringToCodePoints
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Oct 19, 2023
1 parent f2b8495 commit e68e6c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec.emu
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ contributors: Jordan Harband

<emu-alg>
1. Let _str_ be ? ToString(_S_).
1. Let _cpList_ be a List containing in order the code points as defined in 6.1.4 of _str_, starting at the first element of _str_.
1. Let _cpList_ be StringToCodePoints(_str_).
1. Let _toEscape_ be StringToCodePoints(the ASCII punctuators that need escaping).
1. Let _escapedList_ be a new empty List.
1. For each code point _c_ in _cpList_, do
Expand Down

0 comments on commit e68e6c0

Please sign in to comment.