Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CS2] ES5+ don't require keyword property names to be escaped #4513

Closed
dead-claudia opened this issue Apr 18, 2017 · 0 comments
Closed

[CS2] ES5+ don't require keyword property names to be escaped #4513

dead-claudia opened this issue Apr 18, 2017 · 0 comments

Comments

@dead-claudia
Copy link

In other words, compiling object.class to object["class"] and class: "foo" to {"class": "foo"} is no longer necessary, and they're also idiomatically unquoted in modern JS.

So could this redundancy be removed? It aids both in readability and emitted code size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants