google/closure-compiler

String.fromCharCode optimization

Open

#3 606 ouverte le 27 mai 2020

Voir sur GitHub
 (10 commentaires) (0 réactions) (0 assignés)Java (1 197 forks)batch import
P4featgood first issue

Métriques du dépôt

Stars
 (7 176 stars)
Métriques de merge PR
 (Merge moyen 3j 4h) (1 PR mergée en 30 j)

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.

Guide contributeur