Skip to content

Commit

Permalink
Clarify the Realm constructor has no parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
leobalter committed May 20, 2021
1 parent 65b7227 commit 067c381
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ <h1>The Realm Constructor</h1>

<emu-clause id="sec-realm">
<h1>Realm ()</h1>
<p>When the `Realm` function is called with no arguments, the following steps are taken:</p>
<p>When the `Realm` function is called, the following steps are taken:</p>
<emu-alg>
1. If NewTarget is *undefined*, throw a *TypeError* exception.
1. Let _O_ be ? OrdinaryCreateFromConstructor(NewTarget, "%Realm.prototype%", « [[Realm]], [[ExecutionContext]] »).
Expand Down

0 comments on commit 067c381

Please sign in to comment.