Matas Vaitkevicius Matas Vaitkevicius - 8 months ago 32
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

If you log

"