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

Set.prototype.add does not always return this object #302

Closed
Yaffle opened this issue Nov 15, 2014 · 1 comment
Closed

Set.prototype.add does not always return this object #302

Yaffle opened this issue Nov 15, 2014 · 1 comment
Assignees

Comments

@Yaffle
Copy link
Contributor

Yaffle commented Nov 15, 2014

see test case in compat-table/compat-table#314

@ljharb
Copy link
Collaborator

ljharb commented Nov 15, 2014

Thanks, Set#add should indeed return the this value per step 9 in https://people.mozilla.org/~jorendorff/es6-draft.html#sec-set.prototype.add

@ljharb ljharb self-assigned this Nov 15, 2014
@ljharb ljharb closed this as completed in 4709fae Nov 15, 2014
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

2 participants