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.

贡献者指南