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

Commit

Permalink
Merge pull request #14 from michaelficarra/patch-1
Browse files Browse the repository at this point in the history
editorial review
  • Loading branch information
peetklecha authored Jul 5, 2023
2 parents 8503511 + bb86cb8 commit 99c6c05
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 99c6c05

Please sign in to comment.