🔤String

🚧 under construction -> move 💾 程式

JSvalueprimitive ⟩ String

  • JavaScript strings are encoded as a sequence of 16-bit code units.

Strings

iterator for String works correctly with surrogate pairs. 👉 see: str.slice2()

Any non-nullish value has .toString() method. (usually equivalent to String())

Last updated