Skip to content

Conversation

@michaelficarra
Copy link
Member

This implements the Stage 3 Iterator Sequencing proposal. Based on #3712.

@github-actions
Copy link

github-actions bot commented Nov 3, 2025

The rendered spec for this PR is available at https://tc39.es/ecma262/pr/3713.

@ljharb ljharb added pending stage 4 This proposal has not yet achieved stage 4, but may otherwise be ready to merge. proposal This is related to a specific proposal, and will be closed/merged when the proposal reaches stage 4. labels Nov 4, 2025
Comment on lines +48066 to +48096
1. Let _method_ be ? GetMethod(_item_, %Symbol.iterator%).
1. If _method_ is *undefined*, throw a *TypeError* exception.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perhaps these two steps, which are repeated in GetIterator, could be abstracted to a reused AO?

@ljharb ljharb added the normative change Affects behavior required to correctly evaluate some ECMAScript source text label Nov 4, 2025
@bakkot bakkot added has stage 4 This PR represents a proposal that has achieved stage 4, and is ready to merge. and removed pending stage 4 This proposal has not yet achieved stage 4, but may otherwise be ready to merge. labels Nov 24, 2025
@michaelficarra michaelficarra added the ready to merge Editors believe this PR needs no further reviews, and is ready to land. label Nov 25, 2025
Jack-Works added a commit to engine262/engine262 that referenced this pull request Nov 25, 2025
@ljharb ljharb force-pushed the underlying-iterators branch from ceb5a30 to c541680 Compare December 1, 2025 23:03
Base automatically changed from underlying-iterators to main December 1, 2025 23:07
@ljharb ljharb force-pushed the iterator-sequencing branch from e7b8ed8 to aefd096 Compare December 1, 2025 23:08
@ljharb ljharb merged commit aefd096 into main Dec 1, 2025
9 checks passed
@ljharb ljharb deleted the iterator-sequencing branch December 1, 2025 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

has stage 4 This PR represents a proposal that has achieved stage 4, and is ready to merge. normative change Affects behavior required to correctly evaluate some ECMAScript source text proposal This is related to a specific proposal, and will be closed/merged when the proposal reaches stage 4. ready to merge Editors believe this PR needs no further reviews, and is ready to land.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants