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

ECMA 6 - Test Enhanced Object Properties #125

Open
emravera opened this issue Apr 16, 2018 · 0 comments
Open

ECMA 6 - Test Enhanced Object Properties #125

emravera opened this issue Apr 16, 2018 · 0 comments

Comments

@emravera
Copy link
Collaborator

Generate a test suite for:

// Property shorthand
var x = 0, y = 0
obj = { x, y }

// Computed property names
let obj = {
    foo: "bar",
    [ "baz" + quux() ]: 42
}

// Method properties
obj = {
    foo (a, b) {
        …
    },
    bar (x, y) {
        …
    },
    *quux (x, y) {
        …
    }
}

More info at:

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