Skip to content

Editorial: Use OrdinaryObjectCreate in {Async,}DisposableStack.prototype.move() - #4004

Open
linusg wants to merge 1 commit into
tc39:mainfrom
linusg:erm-tweak
Open

linusg wants to merge 1 commit into
tc39:mainfrom
linusg:erm-tweak

Conversation

@linusg

@linusg linusg commented Oct 23, 2026

Copy link
Copy Markdown
Member

The "prototype" property of %DisposableStack% and %AsyncDisposableStack% is non-writable and non-configurable, so the fallback intrinsic passed to OrdinaryCreateFromConstructor is never used. This matches how the Set methods create their results, for example.

…ype.move()

The "prototype" property of %DisposableStack% and %AsyncDisposableStack%
is non-writable and non-configurable, so the fallback intrinsic passed
to OrdinaryCreateFromConstructor is never used. This matches how the Set
methods create their results, for example.
@github-actions

Copy link
Copy Markdown

The rendered spec preview for this PR is available as a single page at https://tc39.es/ecma262/pr/4004 and as multiple pages at https://tc39.es/ecma262/pr/4004/multipage .

@ljharb
ljharb requested a review from rbuckton October 23, 2026 21:17
@michaelficarra michaelficarra added the ready to merge Editors believe this PR needs no further reviews, and is ready to land. label Oct 25, 2026

This branch has not been deployed

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

Labels

editorial change 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