Skip to content

Conversation

@dminor
Copy link

@dminor dminor commented Jan 5, 2026

From the Upsert proposal, I'm hoping to bring this for Stage 4 at an upcoming plenary.

@dminor dminor mentioned this pull request Jan 5, 2026
23 tasks
Copy link
Member

@bakkot bakkot left a comment

Choose a reason for hiding this comment

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

Tiny nit: we mostly (although I guess not uniformly) use lowercase for section IDs.

Otherwise LGTM.

@ljharb ljharb added normative change Affects behavior required to correctly evaluate some ECMAScript source text pending stage 4 This proposal has not yet achieved stage 4, but may otherwise be ready to merge. has test262 tests proposal This is related to a specific proposal, and will be closed/merged when the proposal reaches stage 4. labels Jan 5, 2026
Sorry, I was unable to apply the suggested changes directly from
GitHub.
spec.html Outdated

<emu-clause id="sec-map.prototype.getorinsert">
<h1>Map.prototype.getOrInsert ( _key_, _value_ )</h1>
<p>When the getOrInsert method is called the following steps are taken:</p>
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is old phrasing.

Suggested change
<p>When the getOrInsert method is called the following steps are taken:</p>
<p>This method performs the following steps when called:</p>

Likewise for the other 3 occurrences.

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

Labels

has test262 tests normative change Affects behavior required to correctly evaluate some ECMAScript source text 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants