🚧 under construction
Last updated 2 years ago
Was this helpful?
JS ⟩ value ⟩ primitive ⟩ String ⟩ Unicode ⟩ character encoding
character encoding transforms code points into code units.
popular encodings are UTF-8 , UTF-16 and UTF-32 .
most JavaScript engines use UTF-16 encoding.
replit ⟩
// code
Eloquent JavaScript ⟩ Strings & Character Codes
Wikipedia ⟩ Character encoding
UTF-16 characters, code points, grapheme clusters
String.prototype ⟩
.charCodeAt()
⟩