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

ES6 object shorthand function support #79

Open
rookiePrgrmer opened this issue Feb 2, 2019 · 1 comment
Open

ES6 object shorthand function support #79

rookiePrgrmer opened this issue Feb 2, 2019 · 1 comment
Assignees
Labels

Comments

@rookiePrgrmer
Copy link

We found that es6-plato can't recognize es6 object shorthand function, for example:

const obj = {
    // recognized
    foo: function() {}
};
const obj = {
    // not recognize
    foo() {}
}

Is that true, or we used es6-plato in wrong way?

@the-simian
Copy link
Owner

@rookiePrgrmer I'll be updating the underlying parser that might fix this soon. I'll let you know when.

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

No branches or pull requests

2 participants