Matas Vaitkevicius Matas Vaitkevicius - 11 months ago 42
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

"