I want to be able to take a string such as f37f
and return "\uf37f"
from my function. The strings correspond to icons.
If I return "\uf37f"
the function works, but it does not work if I try this:
return `\\u${iconString}`;
The icon shows up as text. I cannot simply concatenate "\u"
and my icon as this throws a hexadecimal digit expected
error.