Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.

editorial review #14

Merged
merged 1 commit into from
Jul 5, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ <h1>Properties of the Promise Constructor</h1>
<emu-clause id="sec-promise.withResolvers">
<h1>Promise.withResolvers ( )</h1>
<p>
This function returns a object with three properties; a new promise, and the resolve and reject functions associated to that promise.
This function returns an object with three properties: a new promise plus the `resolve` and `reject` functions associated with that promise.
</p>
<emu-alg>
1. Let _C_ be *this* value.
1. Let _C_ be the *this* value.
1. Let _promiseCapability_ be ? NewPromiseCapability(_C_).
1. Let _obj_ be OrdinaryObjectCreate(%Object.prototype%).
1. Perform ! CreateDataPropertyOrThrow(_obj_, "promise", _promiseCapability_.[[Promise]]).
Expand Down