Here's my code:
let padded = "03";
ascii = `u00${padded}`;
However, I receive Bad character escape sequence
from Babel. I'm trying to end up with:
u0003
in the ascii
variable. What am I doing wrong?
EDIT:
Ended up with ascii = (eval('"\u00' + padded + '"'));