How to convert one emoji character to Unicode codepoint number in JavaScript?
Two way let hex = “😀”.codePointAt(0).toString(16) let emo = String.fromCodePoint(“0x”+hex); console.log(hex, emo);
Two way let hex = “😀”.codePointAt(0).toString(16) let emo = String.fromCodePoint(“0x”+hex); console.log(hex, emo);