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

JP22: 23.2.3.2 Set.prototype.clear should have NOTES like Map.prototype.clear #200

Closed
Constellation opened this Issue Nov 17, 2015 · 0 comments

Comments

Projects
None yet
1 participant
@Constellation

Constellation commented Nov 17, 2015

Map.prototype.clear has NOTES, but Set.prototype.clear does not.
Since Map.prototype.delete and Set.prototype.delete has the almost same notes, to keep consistency, I think adding NOTES to Set.prototype.clear is preferable.

like,


NOTE The existing [[SetData]] List is preserved because there may be existing SetIterator objects that are suspended midway through iterating over that List.


http://ecma-international.org/ecma-262/6.0/#sec-set.prototype.clear

@bterlson bterlson closed this in 75d74f2 Jan 16, 2016

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