Chapter 04
Strings and Unicode
Strings as UTF-16 code units, what that means for length and iteration, and template literals.5 questions
- 010Why is
"😀".length2?Coming soonCoremedium - 020How do you iterate over the characters a user sees?Coming soonmedium
- 030What are lone surrogates, and what do
isWellFormedandtoWellFormedfix?Coming soonhard - 040How do tagged template literals work?Coming soonmedium
- 050How do you compare strings correctly across languages?Coming soonmedium