If you evaluate the string literal 'uD83DuDE00' in the JavaScript console, no error occurs and you see a smiley face emoji.
If I evaluate a single code point character using eval, no error is thrown.
If I evaluate the same string literal using eval, I get a SyntaxError (Invalid character 'ud83d'). Why?
eval('uD83DuDE00') // SyntaxError
I note that using the multi-code-point character elsewhere in an eval'd statement, works:
eval("console.log('uD83DuDE00')") // Smiley face emoji