3 ms·
I see your 2 and raise you 2: "(this is a color-hued hand from Apple that doesn't render on HN)".length == 4 I ran into the length==2 bug when truncating some
by codezero 10y ago
I see your 2 and raise you 2:
"(this is a color-hued hand from Apple that doesn't render on HN)".length == 4
I ran into the length==2 bug when truncating some text, it led to errors trying to url encode a string :)
The author's `fancyCount2` still returns a size of 2 for these kinds of emoji, but I'm not too surprised.