google / google/closure-compiler
String.fromCharCode optimization
Open
feat
good first issue
P4
- Dominant language
- JavaScript
- Stars
- 7.7k
- Forks
- 1.2k
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 6
Description
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.fromCharCode` function to be removed to just the resulting character.
Contributor guide
Assessment
This issue has not been assessed yet.