๐Ÿ”ฐescape sequence

JS โŸฉ value โŸฉ primitive โŸฉ String โŸฉ escape sequence

escape sequence
code points

\xXX โ€ฆ

(XX = 00~FF, 2 hex digits)

(Basic Latin and Latin-1 Supplement)

(= ISO-8859-1)

U+0000 ~ U+00FF

\uXXXX

(XXXX= 0000 ~ FFFF, 4 hex digits)

(Basic Multilingual Plane)

U+0000 ~ U+FFFF

\u{X}โ€ฆ\u{XXXXXX}

(Xโ€ฆXXXXXX, 1~6 hex digits)

(the entirety of Unicode)

U+0000 ~ U+10FFFF

Last updated

Was this helpful?