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

Is there any proposes for better Symbol() syntax? #523

Closed
ghost opened this Issue Apr 6, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@ghost

ghost commented Apr 6, 2016

Maybe we need some sugar for getting built-in symbols from Symbol? As the new methods added via symbols this can be useful.

// now
new Array()[Symbol.iterator]
/foo/g[Symbol.match]

// sugar
new Array()::iterator
/foo/g::match
@claudepache

This comment has been minimized.

Show comment
Hide comment
@claudepache

claudepache Apr 6, 2016

Contributor

The right place to have such a discussion is the es-discuss mailing list, not this repository. See CONTRIBUTING.md#feature-requests.

Contributor

claudepache commented Apr 6, 2016

The right place to have such a discussion is the es-discuss mailing list, not this repository. See CONTRIBUTING.md#feature-requests.

@bterlson bterlson closed this Apr 6, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment