Y
Hacker News
new
|
ask
|
show
|
jobs
by
loganfsmyth
4344 days ago
Definitely. Thankfully, ES6 will introduce
"🍣".codePointAt(0)
and iterators will iterate code points, not code units.
for (var c of "🍣"){}