News for hackers. Stuff that matters.
Re:It’s Not Wrong that “ ”.length == 7 by Izkata on Friday June 02, 2023 @09:32AM (#36164822)
> It is wrong that "{emoji}".length == 7

I get what you're intending, but it's kinda funny because that string actually is 7

Re:It’s Not Wrong that “ ”.length == 7 by tourist2d on Friday June 02, 2023 @10:16AM (#36165400)
The underlying size is 7, the length isn't 7.
Re:It’s Not Wrong that “ ”.length == 7 by teddyh on Friday June 02, 2023 @10:45AM (#36165800)
Also, the length of the literal string “{emoji}” is 7.