From d0c6205933bb574af29a70a96c4a90aabcbb442a Mon Sep 17 00:00:00 2001 From: Gus Caplan Date: Wed, 21 Jul 2021 22:18:12 -0700 Subject: [PATCH] Editorial: initialize missing fields in OrdinaryFunctionCreate (#2464) --- spec.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spec.html b/spec.html index 2234fbc431..85a3c7eb24 100644 --- a/spec.html +++ b/spec.html @@ -13108,6 +13108,8 @@

1. Set _F_.[[ScriptOrModule]] to GetActiveScriptOrModule(). 1. Set _F_.[[Realm]] to the current Realm Record. 1. Set _F_.[[HomeObject]] to *undefined*. + 1. Set _F_.[[Fields]] to a new empty List. + 1. Set _F_.[[PrivateMethods]] to a new empty List. 1. Set _F_.[[ClassFieldInitializerName]] to ~empty~. 1. Let _len_ be the ExpectedArgumentCount of _ParameterList_. 1. Perform ! SetFunctionLength(_F_, _len_).