Skip to content

Adds support for string func names in objs classes #478

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

Closed
wants to merge 1 commit into from

Conversation

amadeus
Copy link
Collaborator

@amadeus amadeus commented Jun 14, 2016

This fixes #477

Basically this adds support for function definitions like this:

var obj = {
    "some-func"() {},
    'another-func'(){}
};

class Example {
    "some-func"() {},
    'another-func'(){}
};

@amadeus amadeus closed this Jun 14, 2016
@amadeus amadeus deleted the object-string-key-shorthand branch June 14, 2016 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Quoted string as object key not supported
1 participant