The Unicode Standard provides a unique number for every character, no matter the platform, device, application, or language. UTF-8 is a popular choice for Unicode encoding which has 8-bit code units.
let value = '\u004E\u004F'; console.log(value); //NO
All Unicode characters can be represented in this way. To represent a HEART emoji, the Unicode characters would be like:
let value = '\u200D\u2764\uFE0F\u200D'; console.log(value); //❤️ <-- Heart is supposed to be printed here but looks like this code plugin doesn't support Emoji. My bad.
When you want to express an identifier itself in Unicode, yeah why not?
let \u004E\u004F = "value"; console.log(NO); //value