🚧 under construction
JS ⟩ value ⟩ primitive ⟩ String ⟩ Unicode ⟩ code plane
a range of 65,536 (0x10000) contiguous code points
0x10000
U+n0000 ~ U+nFFFF (n = 0x0 ~ 0x10), divided into 17 planes.
0x0
0x10
Basic Multilingual Plane (plane 0, BMP) - U+0000 ~ U+FFFF.
astral planes (supplementary planes, plane 1 ~ 16) - U+10000 ~ U+10FFFF.
astral code points : U+10000 ~ U+10FFFF.
replit ⟩
// code
Eloquent JavaScript ⟩ Strings & Character Codesarrow-up-right
UTF-16 characters, code points, grapheme clustersarrow-up-right
String.prototype ⟩
.charCodeAt()arrow-up-right
.codePointAt()arrow-up-right
Stringarrow-up-right ⟩
.fromCodePoint()arrow-up-right
.fromCharCode()arrow-up-right
Last updated 3 years ago