Shared: Why does "๐ฉ๐พโ๐พ" have a length of 7 in JavaScript? Geoff Oliver on June 1, 2023 at 1:09 pm In short: ๐ฉ๐พโ๐พ is made of 1 grapheme cluster, 4 scalars, and 7 UTF-16 code units. Thatโs why its length is 7. Interesting stuff. Share View Original Comments (0) There are no comments to display. Leave A Comment Your NameEmail AddressCommentAdd Comment
Comments (0)
Leave A Comment