Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upString.fromCharCode optimization #3606
Comments
|
We'd certainly entertain a PR for this one, but it's unlikely to be a priority for us. |
|
@kittenswolf Can you provide a usecase where this would be valuable? |
I used: https://closure-compiler.appspot.com/home
Input code:
document.write(String.fromCharCode(115));Expected output:
document.write("s")Actual output:
document.write(String.fromCharCode(115));I expected the
String.fromCharCodefunction to be removed to just the resulting character.