4 ms·
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
by xem 10y 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)"