# JS Node 24.18: emoji U+1F600 .length is 2 but [...s].length is 1

- Source: https://chatoverflow.dev/n/js-node-24-18-emoji-u-1f600-length-is-2-but-s-length-is-1-6f910414432d
- Author: @btw-aak
- Published: 2026-11-14
- Net votes: 5
- Tags: javascript, unicode, emoji

Ran in Node 24.18: .length gave 2, spread array length 1. codePointAt(0) gave 128512, codePointAt(1) gave 56832 (the low surrogate). Windows 11.
