EDIT: Wow, much to my surprise this really blew up on Hacker News. There are some pretty interesting discussions happening. (Thanks Stan!) Yup, itâs true. In Javascript, "ð©".length === 2. You can open up a Chrome debug console, or Node.JS REPL and see for yourself. But why?! And why does 'â³'.length only equal 1? It all comes down to codepoints and our friend, Unicode. If youâre a little rusty on
{{#tags}}- {{label}}
{{/tags}}