use fromCodepoint function instead of fromCharCode
fromCodepoint
fromCharCode
String.fromCodePoint(0x1f600)