Skip to content

Not support for Enhanced Object Literals #33

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
wang2lang opened this issue Nov 29, 2017 · 3 comments · Fixed by #39
Closed

Not support for Enhanced Object Literals #33

wang2lang opened this issue Nov 29, 2017 · 3 comments · Fixed by #39

Comments

@wang2lang
Copy link

var obj = {
    foo (a, b) { },
    bar (x, y) {},
    *quux (x, y) {}
}

var serializedObj = serialize(obj)
deserialize(serializedObj)
// will got Uncaught SyntaxError
@okuryu
Copy link
Collaborator

okuryu commented Dec 11, 2017

Sure, patch welcome.

@kwolfy
Copy link
Contributor

kwolfy commented Jul 1, 2018

@okuryu I've sent pr with patch. Check it please

@okuryu
Copy link
Collaborator

okuryu commented Dec 24, 2018

Fixed in #39, and published [email protected]. Thanks!

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 a pull request may close this issue.

3 participants