News for hackers. Stuff that matters.
Re:You can't just assume UTF-8 by josephg on Tuesday April 30, 2024 @02:20AM (#40207775)
Yep. I don't use eslint, but if I did I would want a lint against any use of string.length. Its almost never what you want. Especially now that javascript supports unicode through [...str].

There are no comments on this comment yet.