out = [0xD83D, 0xDE00]; var chars = ''; for(i = 0; i < out.length; i++){ chars += String.fromCodePoint( out[i] ); let b = new Blob([chars]); console.log(i, out[i], chars.length, b.size) } console.log(chars);