google/closure-compiler

String.fromCharCode optimization

Open

#3,606 opened on 2020年5月27日

GitHub で見る
 (10 comments) (0 reactions) (0 assignees)Java (1,197 forks)batch import
P4featgood first issue

Repository metrics

Stars
 (7,176 stars)
PR merge metrics
 (平均マージ 3d 4h) (30d で 1 merged PR)

説明

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.

コントリビューターガイド