google/closure-compiler

String.fromCharCode optimization

Open

#3,606 建立於 2020年5月27日

在 GitHub 查看
 (10 留言) (0 反應) (0 負責人)Java (7,176 star) (1,197 fork)batch import
P4featgood first issue

描述

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.

貢獻者指南