String literal '' denotes a string of seven characters (&, #, etc.) in JavaScript. If your code is embedded in an HTML document, it may or may not (depending on browser mode) be processed so that  were recognized as a reference to the character denoting U + E08F before passing data to the JavaScript interpreter.
As Andbdrews implicitly says, the JavaScript way to designate a character inside a string literal by its Unicode number is to use the \u prefix, for example. \ue08f .
Regardless, the code point U + E08F is a personal use code point, and according to the Unicode standard: "These characters are intended for private use and are not defined, interpreted by semantics, except by private agreement." Therefore, if these code points are used to expand the character’s repertoire, it is more or less guaranteed that there will be no interaction. In this case, when they work, they work only if with assignments for code points.
source share