6 ms·
Definitely. Thankfully, ES6 will introduce "🍣".codePointAt(0) and iterators will iterate code points, not code units. for (var c of "🍣"){}
by loganfsmyth 12y ago
Definitely. Thankfully, ES6 will introduce
"🍣".codePointAt(0)
and iterators will iterate code points, not code units.
for (var c of "🍣"){}