Why isn't HTML Entity in input title not working for React

Why can’t I use the HTML Entity ≤ for the HTML input title attribute using a JavaScript constant but I can if I use a string?

The HTML Entity ≤ is the ≤ symbol.

I have provided a demonstration:

When you hover over the top input, you’ll see the symbol which was defined by a string. However, if you hover over the bottom input, the symbol is not displayed instead the string ≤ which was defined using a const.

Thanks in advance!