Y
Hacker News
new
|
ask
|
show
|
jobs
by
xem
3387 days ago
Here are my 2 cents: you can decompose an Unicode string with the ES6 spread operator:
[..."(insert 5 poo emoji here)"].length === 5
[..."(insert 5 poo emoji here)"][1] === "(poo emoji)"