From 41d0dc14b9ffafe4acfd565a8967e2849ede8f76 Mon Sep 17 00:00:00 2001 From: ExE Boss <3889017+ExE-Boss@users.noreply.github.com> Date: Sat, 26 Sep 2020 00:10:00 +0200 Subject: [PATCH] =?UTF-8?q?Address=C2=A0review=C2=A0comments?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Michael Dyck --- spec.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec.html b/spec.html index 13512b6e596..7e25313b78f 100644 --- a/spec.html +++ b/spec.html @@ -8559,7 +8559,7 @@

Built-in Function Objects

Built-in function objects that are not identified as constructors do not implement the [[Construct]] internal method unless otherwise specified in the description of a particular function. When a built-in constructor is called as part of a `new` expression the _argumentsList_ parameter of the invoked [[Construct]] internal method provides the values for the built-in constructor's named parameters.

Built-in functions that are not constructors do not have a *"prototype"* property unless otherwise specified in the description of a particular function.

-

In addition to [[Extensible]] and [[Prototype]], ECMAScript function objects also have the internal slots listed in .

+

In addition to [[Extensible]] and [[Prototype]], built-in function objects also have the internal slots listed in .

@@ -8652,7 +8652,7 @@

CreateBuiltinFunction ( _steps_ [ , _additionalInternalSlotsList_ [ , _realm 1. If _realm_ is not present, set _realm_ to the current Realm Record. 1. Assert: _realm_ is a Realm Record. 1. If _prototype_ is not present, set _prototype_ to _realm_.[[Intrinsics]].[[%Function.prototype%]]. - 1. Let _internalSlotsList_ be « [[Prototype]], [[Extensible]] » and the internal slots specified in or and « [[InitialName]] », as appropriate. + 1. Let _internalSlotsList_ be a List containing [[Prototype]], [[Extensible]], and the internal slots specified in and [[InitialName]] or the internal slots specified in , as appropriate. 1. If _additionalInternalSlotsList_ is present, append each of its elements to _internalSlotsList_. 1. Let _func_ be a new built-in function object that when called performs the action described by _steps_. The new function object has internal slots whose names are the elements of _internalSlotsList_. 1. Set _func_.[[Extensible]] to *true*.