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

Cannot declare object literal properties with unquoted reserved words #440

Closed
bitwiseman opened this issue Mar 28, 2014 · 0 comments
Closed
Milestone

Comments

@bitwiseman
Copy link
Member

As noted in #439, we still don't quite handle reserved words correctly.
When declaring object literals (from #309):

var a = { 'throw': function() {} }; // Success!
var b = { throw: function() {} }; // Failure!

This is a lesser issue than promise.throw() not formatting correctly, but it is still worth looking into. Made difficult by #200.

@bitwiseman bitwiseman added the bug label Mar 28, 2014
@bitwiseman bitwiseman changed the title Cannot declaring object literal properties with unquoted reserved words Cannot declare object literal properties with unquoted reserved words Apr 1, 2014
@bitwiseman bitwiseman added this to the v1.5.2 milestone Sep 28, 2014
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

1 participant