Skip to content

String.fromCharCode optimization #3606

@kittenswolf

Description

@kittenswolf

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P4featFeature Requestgood first issueRelatively easy, but low priority bugs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions