Skip to content

Commit f3e3f93

Browse files
address comments
1 parent 5c71701 commit f3e3f93

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spec.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3022,7 +3022,7 @@ <h1>Object Internal Methods and Internal Slots</h1>
30223022
For the internal methods listed in <emu-xref href="#table-essential-internal-methods"></emu-xref>, the object uses those defined in <emu-xref href="#sec-ordinary-object-internal-methods-and-internal-slots"></emu-xref>.
30233023
</li>
30243024
<li>
3025-
If the object has a [[Call]] internal method, it uses either the one defined in <emu-xref href="#sec-ecmascript-function-objects-call-thisargument-argumentslist"></emu-xref> or the one defined in <emu-xref href="#sec-built-in-function-objects-call-thisargument-argumentslist"></emu-xref>.
3025+
If the object has a [[Call]] internal method, it uses the one defined in <emu-xref href="#sec-ecmascript-function-objects-call-thisargument-argumentslist"></emu-xref>, the one defined in <emu-xref href="#sec-built-in-function-objects-call-thisargument-argumentslist"></emu-xref>, or the one defined in <emu-xref href="#sec-built-in-async-function-objects-call"></emu-xref>.
30263026
</li>
30273027
<li>
30283028
If the object has a [[Construct]] internal method, it uses either the one defined in <emu-xref href="#sec-ecmascript-function-objects-construct-argumentslist-newtarget"></emu-xref> or the one defined in <emu-xref href="#sec-built-in-function-objects-construct-argumentslist-newtarget"></emu-xref>.
@@ -13869,8 +13869,8 @@ <h1>Built-in Function Objects</h1>
1386913869
<li>[[InitialName]], a String that is the initial name of the function. It is used by <emu-xref href="#sec-function.prototype.tostring"></emu-xref>.</li>
1387013870
</ul>
1387113871
<p>The initial value of a built-in function object's [[Prototype]] internal slot is %Function.prototype%, unless otherwise specified.</p>
13872-
<p>A built-in function object must have a [[Call]] internal method that, unless otherwise specified, conforms to the definition in <emu-xref href="#sec-built-in-function-objects-call-thisargument-argumentslist"></emu-xref>.</p>
13873-
<p>A built-in function object has a [[Construct]] internal method if and only if it is described as a “constructor”, or some algorithm in this specification explicitly sets its [[Construct]] internal method. Unless otherwise specified, such a [[Construct]] internal method must conform to the definition in <emu-xref href="#sec-built-in-function-objects-construct-argumentslist-newtarget"></emu-xref>.</p>
13872+
<p>A built-in function object must have a [[Call]] internal method that conforms to either the definition in <emu-xref href="#sec-built-in-function-objects-call-thisargument-argumentslist"></emu-xref> or the definition in <emu-xref href="#sec-built-in-async-function-objects-call"></emu-xref>.</p>
13873+
<p>A built-in function object has a [[Construct]] internal method if and only if it is described as a “constructor”, or some algorithm in this specification explicitly sets its [[Construct]] internal method. Such a [[Construct]] internal method must conform to the definition in <emu-xref href="#sec-built-in-function-objects-construct-argumentslist-newtarget"></emu-xref>.</p>
1387413874
<p>An implementation may provide additional built-in function objects that are not defined in this specification.</p>
1387513875

1387613876
<emu-clause id="sec-built-in-function-objects-call-thisargument-argumentslist" type="internal method">
@@ -14005,7 +14005,7 @@ <h1>
1400514005
1. Push _calleeContext_ onto the execution context stack; _calleeContext_ is now the running execution context.
1400614006
1. Let _promiseCapability_ be ! NewPromiseCapability(%Promise%).
1400714007
1. Let _resultsClosure_ be a new Abstract Closure with no parameters that captures _F_, _thisArgument_, and _argumentsList_ and performs the following steps when called:
14008-
1. Return the Completion Record that is the result of evaluating _F_ in a manner that conforms to the specification of _F_. _thisArgument_ provides the *this* value, _argumentsList_ provides the named parameters, and the NewTarget value is *undefined*.
14008+
1. Return the Completion Record that is <emu-meta effects="user-code">the result of evaluating</emu-meta> _F_ in a manner that conforms to the specification of _F_. _thisArgument_ provides the *this* value, _argumentsList_ provides the named parameters, and the NewTarget value is *undefined*.
1400914009
1. Perform AsyncFunctionStart(_promiseCapability_, _resultsClosure_).
1401014010
1. Remove _calleeContext_ from the execution context stack and restore _callerContext_ as the running execution context.
1401114011
1. Return _promiseCapability_.[[Promise]].

0 commit comments

Comments
 (0)