Matas Vaitkevicius Matas Vaitkevicius - 1 year ago 72
Javascript Question

Why multiple unicode conversions String.fromCharCode("👉".charCodeAt(0)) ruin the symbol in Chrome console and how to fix it?

I have found this today and can't make out why it fails:

Basically if you take some obscure symbol like


Answer Source

If you log