From fd4924049b40a5efe2f14ce6dc791e146d75f385 Mon Sep 17 00:00:00 2001 From: Michael Dyck Date: Thu, 22 Sep 2022 22:32:08 -0700 Subject: [PATCH] Editorial: Eliminate "unknown" as a parameter type (#2745) --- spec.html | 485 +++++++++++++++++++++++++++--------------------------- 1 file changed, 242 insertions(+), 243 deletions(-) diff --git a/spec.html b/spec.html index ada3e897f7..50ff4799fa 100644 --- a/spec.html +++ b/spec.html @@ -4064,7 +4064,7 @@

Await

NormalCompletion ( - _value_: unknown, + _value_: any value except a Completion Record, ): a normal completion

@@ -4091,7 +4091,7 @@

UpdateEmpty ( _completionRecord_: a Completion Record, - _value_: unknown, + _value_: any value except a Completion Record, ): a Completion Record

@@ -4256,7 +4256,7 @@

GetThisValue ( - _V_: unknown, + _V_: a Reference Record, ): an ECMAScript language value

@@ -4387,7 +4387,7 @@

ToPropertyDescriptor ( - _Obj_: unknown, + _Obj_: an ECMAScript language value, ): either a normal completion containing a Property Descriptor or a throw completion

@@ -4798,7 +4798,7 @@

ToBoolean ( - _argument_: unknown, + _argument_: an ECMAScript language value, ): a Boolean

@@ -4889,7 +4889,7 @@

ToNumeric ( - _value_: unknown, + _value_: an ECMAScript language value, ): either a normal completion containing either a Number or a BigInt, or a throw completion

@@ -4906,7 +4906,7 @@

ToNumber ( - _argument_: unknown, + _argument_: an ECMAScript language value, ): either a normal completion containing a Number or a throw completion

@@ -5173,7 +5173,7 @@

ToInt32 ( - _argument_: unknown, + _argument_: an ECMAScript language value, ): either a normal completion containing an integral Number or a throw completion

@@ -5206,7 +5206,7 @@

ToUint32 ( - _argument_: unknown, + _argument_: an ECMAScript language value, ): either a normal completion containing an integral Number or a throw completion

@@ -5242,7 +5242,7 @@

ToInt16 ( - _argument_: unknown, + _argument_: an ECMAScript language value, ): either a normal completion containing an integral Number or a throw completion

@@ -5261,7 +5261,7 @@

ToUint16 ( - _argument_: unknown, + _argument_: an ECMAScript language value, ): either a normal completion containing an integral Number or a throw completion

@@ -5291,7 +5291,7 @@

ToInt8 ( - _argument_: unknown, + _argument_: an ECMAScript language value, ): either a normal completion containing an integral Number or a throw completion

@@ -5310,7 +5310,7 @@

ToUint8 ( - _argument_: unknown, + _argument_: an ECMAScript language value, ): either a normal completion containing an integral Number or a throw completion

@@ -5329,7 +5329,7 @@

ToUint8Clamp ( - _argument_: unknown, + _argument_: an ECMAScript language value, ): either a normal completion containing an integral Number or a throw completion

@@ -5355,7 +5355,7 @@

ToBigInt ( - _argument_: unknown, + _argument_: an ECMAScript language value, ): either a normal completion containing a BigInt or a throw completion

@@ -5488,7 +5488,7 @@

Runtime Semantics: MV

ToBigInt64 ( - _argument_: unknown, + _argument_: an ECMAScript language value, ): either a normal completion containing a BigInt or a throw completion

@@ -5505,7 +5505,7 @@

ToBigUint64 ( - _argument_: unknown, + _argument_: an ECMAScript language value, ): either a normal completion containing a BigInt or a throw completion

@@ -5522,7 +5522,7 @@

ToString ( - _argument_: unknown, + _argument_: an ECMAScript language value, ): either a normal completion containing a String or a throw completion

@@ -5615,7 +5615,7 @@

ToObject ( - _argument_: unknown, + _argument_: an ECMAScript language value, ): either a normal completion containing an Object or a throw completion

@@ -5703,7 +5703,7 @@

ToPropertyKey ( - _argument_: unknown, + _argument_: an ECMAScript language value, ): either a normal completion containing a property key or a throw completion

@@ -5783,7 +5783,7 @@

Testing and Comparison Operations

RequireObjectCoercible ( - _argument_: unknown, + _argument_: an ECMAScript language value, ): either a normal completion containing an ECMAScript language value or a throw completion

@@ -5871,7 +5871,7 @@

IsArray ( - _argument_: unknown, + _argument_: an ECMAScript language value, ): either a normal completion containing a Boolean or a throw completion

@@ -5939,7 +5939,7 @@

IsIntegralNumber ( - _argument_: unknown, + _argument_: an ECMAScript language value, ): a Boolean

@@ -5974,7 +5974,7 @@

IsRegExp ( - _argument_: unknown, + _argument_: an ECMAScript language value, ): either a normal completion containing a Boolean or a throw completion

@@ -6480,7 +6480,7 @@

Construct ( _F_: a constructor, - optional _argumentsList_: unknown, + optional _argumentsList_: a List of ECMAScript language values, optional _newTarget_: a constructor, ): either a normal completion containing an Object or a throw completion

@@ -6601,7 +6601,7 @@

CreateListFromArrayLike ( - _obj_: unknown, + _obj_: an ECMAScript language value, optional _elementTypes_: a List of names of ECMAScript Language Types, ): either a normal completion containing a List of ECMAScript language values or a throw completion

@@ -6649,7 +6649,7 @@

OrdinaryHasInstance ( _C_: an ECMAScript language value, - _O_: unknown, + _O_: an ECMAScript language value, ): either a normal completion containing a Boolean or a throw completion

@@ -8414,7 +8414,7 @@

Labels

Static Semantics: ContainsDuplicateLabels ( - _labelSet_: unknown, + _labelSet_: a List of Strings, ): a Boolean

@@ -8586,7 +8586,7 @@

Static Semantics: ContainsUndefinedBreakTarget ( - _labelSet_: unknown, + _labelSet_: a List of Strings, ): a Boolean

@@ -8765,8 +8765,8 @@

Static Semantics: ContainsUndefinedContinueTarget ( - _iterationSet_: unknown, - _labelSet_: unknown, + _iterationSet_: a List of Strings, + _labelSet_: a List of Strings, ): a Boolean

@@ -9218,7 +9218,7 @@

Static Semantics: IsIdentifierRef ( ): a Boolean

Runtime Semantics: NamedEvaluation ( - _name_: unknown, + _name_: a property key or a Private Name, ): either a normal completion containing a function object or an abrupt completion

@@ -9280,7 +9280,7 @@

Contains

Static Semantics: Contains ( - _symbol_: unknown, + _symbol_: a grammar symbol, ): a Boolean

@@ -9416,7 +9416,7 @@

Static Semantics: ComputedPropertyContains ( - _symbol_: unknown, + _symbol_: a grammar symbol, ): a Boolean

@@ -9486,8 +9486,8 @@

Miscellaneous

Runtime Semantics: InstantiateFunctionObject ( - _env_: unknown, - _privateEnv_: unknown, + _env_: an Environment Record, + _privateEnv_: a PrivateEnvironment Record or *null*, ): a function object

@@ -9529,8 +9529,8 @@

Runtime Semantics: BindingInitialization ( - _value_: unknown, - _environment_: unknown, + _value_: an ECMAScript language value, + _environment_: an Environment Record or *undefined*, ): either a normal completion containing ~unused~ or an abrupt completion

@@ -9591,8 +9591,8 @@

InitializeBoundName ( _name_: a String, - _value_: unknown, - _environment_: unknown, + _value_: an ECMAScript language value, + _environment_: an Environment Record or *undefined*, ): either a normal completion containing ~unused~ or an abrupt completion

@@ -9611,8 +9611,8 @@

Runtime Semantics: IteratorBindingInitialization ( - _iteratorRecord_: unknown, - _environment_: unknown, + _iteratorRecord_: an Iterator Record, + _environment_: an Environment Record or *undefined*, ): either a normal completion containing ~unused~ or an abrupt completion

@@ -11498,8 +11498,8 @@

NewGlobalEnvironment ( - _G_: unknown, - _thisValue_: unknown, + _G_: an Object, + _thisValue_: an Object, ): a Global Environment Record

@@ -11712,7 +11712,7 @@

CreateRealm ( ): a Realm Record

CreateIntrinsics ( - _realmRec_: unknown, + _realmRec_: a Realm Record, ): ~unused~

@@ -11728,9 +11728,9 @@

SetRealmGlobalObject ( - _realmRec_: unknown, + _realmRec_: a Realm Record, _globalObj_: an Object or *undefined*, - _thisValue_: unknown, + _thisValue_: an Object or *undefined*, ): ~unused~

@@ -11751,7 +11751,7 @@

SetDefaultGlobalBindings ( - _realmRec_: unknown, + _realmRec_: a Realm Record, ): either a normal completion containing an Object or a throw completion

@@ -13053,8 +13053,8 @@

RequireInternalSlot ( - _O_: unknown, - _internalSlot_: unknown, + _O_: an ECMAScript language value, + _internalSlot_: an internal slot name, ): either a normal completion containing ~unused~ or a throw completion

@@ -13347,7 +13347,7 @@

Runtime Semantics: EvaluateBody ( - _functionObject_: unknown, + _functionObject_: a function object, _argumentsList_: a List of ECMAScript language values, ): either a normal completion containing an ECMAScript language value or an abrupt completion

@@ -13672,7 +13672,7 @@

FunctionDeclarationInstantiation ( _func_: a function object, - _argumentsList_: unknown, + _argumentsList_: a List of ECMAScript language values, ): either a normal completion containing ~unused~ or an abrupt completion

@@ -13870,7 +13870,7 @@

CreateBuiltinFunction ( _behaviour_: an Abstract Closure, a set of algorithm steps, or some other definition of a function's behaviour provided in this specification, _length_: a non-negative integer or +∞, - _name_: a property key, + _name_: a property key or a Private Name, _additionalInternalSlotsList_: a List of names of internal slots, optional _realm_: a Realm Record, optional _prototype_: an Object or *null*, @@ -14077,7 +14077,7 @@

ArrayCreate ( _length_: a non-negative integer, - optional _proto_: unknown, + optional _proto_: an Object, ): either a normal completion containing an Array exotic object or a throw completion

@@ -14098,7 +14098,7 @@

ArraySpeciesCreate ( - _originalArray_: unknown, + _originalArray_: an Object, _length_: a non-negative integer, ): either a normal completion containing an Object or a throw completion

@@ -14248,7 +14248,7 @@

[[OwnPropertyKeys]] ( ): a normal completion containing a List of property k

StringCreate ( _value_: a String, - _prototype_: unknown, + _prototype_: an Object, ): a String exotic object

@@ -14444,7 +14444,7 @@

CreateUnmappedArgumentsObject ( - _argumentsList_: unknown, + _argumentsList_: a List of ECMAScript language values, ): an ordinary object

@@ -14710,7 +14710,7 @@

[[OwnPropertyKeys]] ( ): a normal completion containing a List of property k

IntegerIndexedObjectCreate ( - _prototype_: unknown, + _prototype_: an Object, ): an Integer-Indexed exotic object

@@ -15083,7 +15083,7 @@

SetImmutablePrototype ( - _O_: unknown, + _O_: an Object, _V_: an Object or *null*, ): either a normal completion containing a Boolean or a throw completion

@@ -15793,8 +15793,8 @@

ProxyCreate ( - _target_: unknown, - _handler_: unknown, + _target_: an ECMAScript language value, + _handler_: an ECMAScript language value, ): either a normal completion containing a Proxy exotic object or a throw completion

@@ -18403,7 +18403,7 @@

Runtime Semantics: Evaluation

Runtime Semantics: PropertyDefinitionEvaluation ( - _object_: unknown, + _object_: an Object, ): either a normal completion containing ~unused~ or an abrupt completion

@@ -18591,7 +18591,7 @@

Static Semantics: Early Errors

Static Semantics: TemplateStrings ( - _raw_: unknown, + _raw_: a Boolean, ): a List of Strings

@@ -19209,9 +19209,9 @@

GetSuperConstructor ( ): an ECMAScript language value

MakeSuperPropertyReference ( - _actualThis_: unknown, - _propertyKey_: unknown, - _strict_: unknown, + _actualThis_: an ECMAScript language value, + _propertyKey_: a property key, + _strict_: a Boolean, ): either a normal completion containing a Super Reference Record or a throw completion

@@ -19343,8 +19343,8 @@

Runtime Semantics: Evaluation

Runtime Semantics: ChainEvaluation ( - _baseValue_: unknown, - _baseReference_: unknown, + _baseValue_: an ECMAScript language value, + _baseReference_: an ECMAScript language value or a Reference Record, ): either a normal completion containing an ECMAScript language value or an abrupt completion

@@ -20695,7 +20695,7 @@

Static Semantics: Early Errors

Runtime Semantics: DestructuringAssignmentEvaluation ( - _value_: unknown, + _value_: an ECMAScript language value, ): either a normal completion containing ~unused~ or an abrupt completion

@@ -20780,7 +20780,7 @@

Runtime Semantics: PropertyDestructuringAssignmentEvaluation ( - _value_: unknown, + _value_: an ECMAScript language value, ): either a normal completion containing a List of property keys or an abrupt completion

@@ -20820,8 +20820,8 @@

Runtime Semantics: RestDestructuringAssignmentEvaluation ( - _value_: unknown, - _excludedNames_: unknown, + _value_: an ECMAScript language value, + _excludedNames_: a List of property keys, ): either a normal completion containing ~unused~ or an abrupt completion

@@ -20838,7 +20838,7 @@

Runtime Semantics: IteratorDestructuringAssignmentEvaluation ( - _iteratorRecord_: unknown, + _iteratorRecord_: an Iterator Record, ): either a normal completion containing ~unused~ or an abrupt completion

@@ -20936,8 +20936,8 @@

Runtime Semantics: KeyedDestructuringAssignmentEvaluation ( - _value_: unknown, - _propertyName_: unknown, + _value_: an ECMAScript language value, + _propertyName_: a property key, ): either a normal completion containing ~unused~ or an abrupt completion

@@ -21360,8 +21360,8 @@

Syntax

Runtime Semantics: PropertyBindingInitialization ( - _value_: unknown, - _environment_: unknown, + _value_: an ECMAScript language value, + _environment_: an Environment Record or *undefined*, ): either a normal completion containing a List of property keys or an abrupt completion

@@ -21393,9 +21393,9 @@

Runtime Semantics: RestBindingInitialization ( - _value_: unknown, - _environment_: unknown, - _excludedNames_: unknown, + _value_: an ECMAScript language value, + _environment_: an Environment Record or *undefined*, + _excludedNames_: a List of property keys, ): either a normal completion containing ~unused~ or an abrupt completion

@@ -21413,9 +21413,9 @@

Runtime Semantics: KeyedBindingInitialization ( - _value_: unknown, - _environment_: unknown, - _propertyName_: unknown, + _value_: an ECMAScript language value, + _environment_: an Environment Record or *undefined*, + _propertyName_: a property key, ): either a normal completion containing ~unused~ or an abrupt completion

@@ -21561,8 +21561,8 @@

Semantics

LoopContinues ( - _completion_: unknown, - _labelSet_: unknown, + _completion_: a Completion Record, + _labelSet_: a List of Strings, ): a Boolean

@@ -21582,7 +21582,7 @@

Runtime Semantics: LoopEvaluation ( - _labelSet_: unknown, + _labelSet_: a List of Strings, ): either a normal completion containing an ECMAScript language value or an abrupt completion

@@ -21630,7 +21630,7 @@

Static Semantics: Early Errors

Runtime Semantics: DoWhileLoopEvaluation ( - _labelSet_: unknown, + _labelSet_: a List of Strings, ): either a normal completion containing an ECMAScript language value or an abrupt completion

@@ -21673,7 +21673,7 @@

Static Semantics: Early Errors

Runtime Semantics: WhileLoopEvaluation ( - _labelSet_: unknown, + _labelSet_: a List of Strings, ): either a normal completion containing an ECMAScript language value or an abrupt completion

@@ -21729,7 +21729,7 @@

Static Semantics: Early Errors

Runtime Semantics: ForLoopEvaluation ( - _labelSet_: unknown, + _labelSet_: a List of Strings, ): either a normal completion containing an ECMAScript language value or an abrupt completion

@@ -21778,11 +21778,11 @@

ForBodyEvaluation ( - _test_: unknown, - _increment_: unknown, - _stmt_: unknown, - _perIterationBindings_: unknown, - _labelSet_: unknown, + _test_: an |Expression| Parse Node or ~empty~, + _increment_: an |Expression| Parse Node or ~empty~, + _stmt_: a |Statement| Parse Node, + _perIterationBindings_: a List of Strings, + _labelSet_: a List of Strings, ): either a normal completion containing an ECMAScript language value or an abrupt completion

@@ -21808,7 +21808,7 @@

CreatePerIterationEnvironment ( - _perIterationBindings_: unknown, + _perIterationBindings_: a List of Strings, ): either a normal completion containing ~unused~ or a throw completion

@@ -21963,8 +21963,8 @@

Static Semantics: IsDestructuring ( ): a Boolean

Runtime Semantics: ForDeclarationBindingInitialization ( - _value_: unknown, - _environment_: unknown, + _value_: an ECMAScript language value, + _environment_: an Environment Record or *undefined*, ): either a normal completion containing ~unused~ or an abrupt completion

@@ -21981,14 +21981,13 @@

Runtime Semantics: ForDeclarationBindingInstantiation ( - _environment_: unknown, + _environment_: a Declarative Environment Record, ): ~unused~

ForDeclaration : LetOrConst ForBinding - 1. Assert: _environment_ is a Declarative Environment Record. 1. For each element _name_ of the BoundNames of |ForBinding|, do 1. If IsConstantDeclaration of |LetOrConst| is *true*, then 1. Perform ! _environment_.CreateImmutableBinding(_name_, *true*). @@ -22001,7 +22000,7 @@

Runtime Semantics: ForInOfLoopEvaluation ( - _labelSet_: unknown, + _labelSet_: a List of Strings, ): either a normal completion containing an ECMAScript language value or an abrupt completion

@@ -22065,8 +22064,8 @@

ForIn/OfHeadEvaluation ( - _uninitializedBoundNames_: unknown, - _expr_: unknown, + _uninitializedBoundNames_: a List of Strings, + _expr_: an |Expression| Parse Node or an |AssignmentExpression| Parse Node, _iterationKind_: ~enumerate~, ~iterate~, or ~async-iterate~, ): either a normal completion containing an Iterator Record or an abrupt completion

@@ -22101,12 +22100,12 @@

ForIn/OfBodyEvaluation ( - _lhs_: unknown, - _stmt_: unknown, - _iteratorRecord_: unknown, - _iterationKind_: unknown, + _lhs_: a Parse Node, + _stmt_: a |Statement| Parse Node, + _iteratorRecord_: an Iterator Record, + _iterationKind_: ~enumerate~ or ~iterate~, _lhsKind_: ~assignment~, ~varBinding~, or ~lexicalBinding~, - _labelSet_: unknown, + _labelSet_: a List of Strings, optional _iteratorKind_: ~sync~ or ~async~, ): either a normal completion containing an ECMAScript language value or an abrupt completion

@@ -22558,7 +22557,7 @@

Static Semantics: Early Errors

Runtime Semantics: CaseBlockEvaluation ( - _input_: unknown, + _input_: an ECMAScript language value, ): either a normal completion containing an ECMAScript language value or an abrupt completion

@@ -22711,7 +22710,7 @@

Static Semantics: Early Errors

Static Semantics: IsLabelledFunction ( - _stmt_: unknown, + _stmt_: a |Statement| Parse Node, ): a Boolean

@@ -22736,7 +22735,7 @@

Runtime Semantics: Evaluation

Runtime Semantics: LabelledEvaluation ( - _labelSet_: unknown, + _labelSet_: a List of Strings, ): either a normal completion containing an ECMAScript language value or an abrupt completion

@@ -22864,7 +22863,7 @@

Static Semantics: Early Errors

Runtime Semantics: CatchClauseEvaluation ( - _thrownValue_: unknown, + _thrownValue_: an ECMAScript language value, ): either a normal completion containing an ECMAScript language value or an abrupt completion

@@ -23338,7 +23337,7 @@

Static Semantics: FunctionBodyContainsUseStrict ( ): a Boolean

Runtime Semantics: EvaluateFunctionBody ( - _functionObject_: unknown, + _functionObject_: a function object, _argumentsList_: a List of ECMAScript language values, ): either a normal completion containing an ECMAScript language value or an abrupt completion

@@ -23354,8 +23353,8 @@

Runtime Semantics: InstantiateOrdinaryFunctionObject ( - _env_: unknown, - _privateEnv_: unknown, + _env_: an Environment Record, + _privateEnv_: a PrivateEnvironment Record or *null*, ): a function object

@@ -23385,7 +23384,7 @@

Runtime Semantics: InstantiateOrdinaryFunctionExpression ( - optional _name_: unknown, + optional _name_: a property key or a Private Name, ): a function object

@@ -23521,7 +23520,7 @@

Static Semantics: ConciseBodyContainsUseStrict ( ): a Boolean

Runtime Semantics: EvaluateConciseBody ( - _functionObject_: unknown, + _functionObject_: a function object, _argumentsList_: a List of ECMAScript language values, ): either a normal completion containing an ECMAScript language value or an abrupt completion

@@ -23537,7 +23536,7 @@

Runtime Semantics: InstantiateArrowFunctionExpression ( - optional _name_: unknown, + optional _name_: a property key or a Private Name, ): a function object

@@ -23674,8 +23673,8 @@

Static Semantics: SpecialMethod ( ): a Boolean

Runtime Semantics: DefineMethod ( - _object_: unknown, - optional _functionPrototype_: unknown, + _object_: an Object, + optional _functionPrototype_: an Object, ): either a normal completion containing a Record with fields [[Key]] (a property key) and [[Closure]] (a function object) or an abrupt completion

@@ -23699,8 +23698,8 @@

Runtime Semantics: MethodDefinitionEvaluation ( - _object_: unknown, - _enumerable_: unknown, + _object_: an Object, + _enumerable_: a Boolean, ): either a normal completion containing either a PrivateElement or ~unused~, or an abrupt completion

@@ -23879,7 +23878,7 @@

Static Semantics: Early Errors

Runtime Semantics: EvaluateGeneratorBody ( - _functionObject_: unknown, + _functionObject_: a function object, _argumentsList_: a List of ECMAScript language values, ): a throw completion or a return completion

@@ -23898,8 +23897,8 @@

Runtime Semantics: InstantiateGeneratorFunctionObject ( - _env_: unknown, - _privateEnv_: unknown, + _env_: an Environment Record, + _privateEnv_: a PrivateEnvironment Record or *null*, ): a function object

@@ -23931,7 +23930,7 @@

Runtime Semantics: InstantiateGeneratorFunctionExpression ( - optional _name_: unknown, + optional _name_: a property key or a Private Name, ): a function object

@@ -24102,7 +24101,7 @@

Static Semantics: Early Errors

Runtime Semantics: EvaluateAsyncGeneratorBody ( - _functionObject_: unknown, + _functionObject_: a function object, _argumentsList_: a List of ECMAScript language values, ): a throw completion or a return completion

@@ -24123,8 +24122,8 @@

Runtime Semantics: InstantiateAsyncGeneratorFunctionObject ( - _env_: unknown, - _privateEnv_: unknown, + _env_: an Environment Record, + _privateEnv_: a PrivateEnvironment Record or *null*, ): a function object

@@ -24160,7 +24159,7 @@

Runtime Semantics: InstantiateAsyncGeneratorFunctionExpression ( - optional _name_: unknown, + optional _name_: a property key or a Private Name, ): a function object

@@ -24483,7 +24482,7 @@

Static Semantics: PrototypePropertyNameList ( ): a List of property keys

Static Semantics: AllPrivateIdentifiersValid ( - _names_: unknown, + _names_: a List of Strings, ): a Boolean

@@ -24673,7 +24672,7 @@

Static Semantics: ContainsArguments ( ): a Boolean

Runtime Semantics: ClassFieldDefinitionEvaluation ( - _homeObject_: unknown, + _homeObject_: an Object, ): either a normal completion containing a ClassFieldDefinition Record or an abrupt completion

@@ -24703,7 +24702,7 @@

Runtime Semantics: ClassStaticBlockDefinitionEvaluation ( - _homeObject_: unknown, + _homeObject_: an Object, ): a ClassStaticBlockDefinition Record

@@ -24724,7 +24723,7 @@

Runtime Semantics: EvaluateClassStaticBlockBody ( - _functionObject_: unknown, + _functionObject_: a function object, ): either a normal completion containing an ECMAScript language value or an abrupt completion

@@ -24739,7 +24738,7 @@

Runtime Semantics: ClassElementEvaluation ( - _object_: unknown, + _object_: an Object, ): either a normal completion containing either a ClassFieldDefinition Record, a ClassStaticBlockDefinition Record, a Private Name, or ~unused~, or an abrupt completion

@@ -24779,8 +24778,8 @@

Runtime Semantics: ClassDefinitionEvaluation ( - _classBinding_: unknown, - _className_: unknown, + _classBinding_: a String or *undefined*, + _className_: a property key or a Private Name, ): either a normal completion containing a function object or an abrupt completion

@@ -25044,8 +25043,8 @@

Static Semantics: Early Errors

Runtime Semantics: InstantiateAsyncFunctionObject ( - _env_: unknown, - _privateEnv_: unknown, + _env_: an Environment Record, + _privateEnv_: a PrivateEnvironment Record or *null*, ): a function object

@@ -25074,7 +25073,7 @@

Runtime Semantics: InstantiateAsyncFunctionExpression ( - optional _name_: unknown, + optional _name_: a property key or a Private Name, ): a function object

@@ -25115,7 +25114,7 @@

Runtime Semantics: EvaluateAsyncFunctionBody ( - _functionObject_: unknown, + _functionObject_: a function object, _argumentsList_: a List of ECMAScript language values, ): a return completion

@@ -25222,7 +25221,7 @@

Static Semantics: AsyncConciseBodyContainsUseStrict ( ): a Boolean

Runtime Semantics: EvaluateAsyncConciseBody ( - _functionObject_: unknown, + _functionObject_: a function object, _argumentsList_: a List of ECMAScript language values, ): a return completion

@@ -25245,7 +25244,7 @@

Runtime Semantics: InstantiateAsyncArrowFunctionExpression ( - optional _name_: unknown, + optional _name_: a property key or a Private Name, ): a function object

@@ -25298,7 +25297,7 @@

Tail Position Calls

Static Semantics: IsInTailPosition ( - _call_: a Parse Node, + _call_: a |CallExpression| Parse Node, a |MemberExpression| Parse Node, or an |OptionalChain| Parse Node, ): a Boolean

@@ -25321,7 +25320,7 @@

Static Semantics: HasCallInTailPosition ( - _call_: unknown, + _call_: a |CallExpression| Parse Node, a |MemberExpression| Parse Node, or an |OptionalChain| Parse Node, ): a Boolean

@@ -25802,8 +25801,8 @@

Script Records

ParseScript ( _sourceText_: ECMAScript source text, - _realm_: unknown, - _hostDefined_: unknown, + _realm_: a Realm Record or *undefined*, + _hostDefined_: anything, ): a Script Record or a non-empty List of *SyntaxError* objects

@@ -25824,7 +25823,7 @@

ScriptEvaluation ( - _scriptRecord_: unknown, + _scriptRecord_: a Script Record, ): either a normal completion containing an ECMAScript language value or an abrupt completion

@@ -26385,7 +26384,7 @@

Link ( ): either a normal completion containing ~unused~ or a throw completi

InnerModuleLinking ( _module_: a Module Record, - _stack_: unknown, + _stack_: a List of Cyclic Module Records, _index_: a non-negative integer, ): either a normal completion containing a non-negative integer or a throw completion

@@ -26472,7 +26471,7 @@

Evaluate ( ): a Promise

InnerModuleEvaluation ( _module_: a Module Record, - _stack_: unknown, + _stack_: a List of Cyclic Module Records, _index_: a non-negative integer, ): either a normal completion containing a non-negative integer or a throw completion

@@ -27559,8 +27558,8 @@

Source Text Module Records

ParseModule ( _sourceText_: ECMAScript source text, - _realm_: unknown, - _hostDefined_: unknown, + _realm_: a Realm Record, + _hostDefined_: anything, ): a Source Text Module Record or a non-empty List of *SyntaxError* objects

@@ -27769,7 +27768,7 @@

InitializeEnvironment ( ): either a normal completion containing ~unused~ or

ExecuteModule ( - optional _capability_: unknown, + optional _capability_: a PromiseCapability Record, ): either a normal completion containing ~unused~ or a throw completion

@@ -27891,10 +27890,10 @@

FinishDynamicImport ( - _referencingScriptOrModule_: unknown, - _specifier_: unknown, + _referencingScriptOrModule_: a Script Record, a Module Record, or *null*, + _specifier_: a String, _promiseCapability_: a PromiseCapability Record, - _innerPromise_: unknown, + _innerPromise_: a Promise, ): ~unused~

@@ -28069,7 +28068,7 @@

Static Semantics: ImportEntries ( ): a List of ImportEntry Records

Static Semantics: ImportEntriesForModule ( - _module_: unknown, + _module_: a String, ): a List of ImportEntry Records

@@ -28391,7 +28390,7 @@

Static Semantics: ExportEntries ( ): a List of ExportEntry Records

Static Semantics: ExportEntriesForModule ( - _module_: unknown, + _module_: a String or *null*, ): a List of ExportEntry Records

@@ -28650,9 +28649,9 @@

eval ( _x_ )

PerformEval ( - _x_: unknown, - _strictCaller_: unknown, - _direct_: unknown, + _x_: an ECMAScript language value, + _strictCaller_: a Boolean, + _direct_: a Boolean, ): either a normal completion containing an ECMAScript language value or a throw completion

@@ -28741,11 +28740,11 @@

EvalDeclarationInstantiation ( - _body_: unknown, - _varEnv_: unknown, - _lexEnv_: unknown, - _privateEnv_: unknown, - _strict_: unknown, + _body_: a |ScriptBody| Parse Node, + _varEnv_: an Environment Record, + _lexEnv_: a Declarative Environment Record, + _privateEnv_: a PrivateEnvironment Record or *null*, + _strict_: a Boolean, ): either a normal completion containing ~unused~ or a throw completion

@@ -29395,7 +29394,7 @@

Object.defineProperties ( _O_, _Properties_ )

ObjectDefineProperties ( _O_: an Object, - _Properties_: unknown, + _Properties_: an ECMAScript language value, ): either a normal completion containing an Object or a throw completion

@@ -29516,7 +29515,7 @@

Object.getOwnPropertySymbols ( _O_ )

GetOwnPropertyKeys ( - _O_: unknown, + _O_: an ECMAScript language value, _type_: ~string~ or ~symbol~, ): either a normal completion containing a List of property keys or a throw completion

@@ -36016,7 +36015,7 @@

Abstract Operations for the RegExp Constructor

RegExpAlloc ( - _newTarget_: unknown, + _newTarget_: a constructor, ): either a normal completion containing an Object or a throw completion

@@ -36107,8 +36106,8 @@

RegExpCreate ( - _P_: unknown, - _F_: unknown, + _P_: an ECMAScript language value, + _F_: a String or *undefined*, ): either a normal completion containing an Object or a throw completion

@@ -36122,8 +36121,8 @@

EscapeRegExpPattern ( - _P_: unknown, - _F_: unknown, + _P_: a String, + _F_: a String, ): a String

@@ -37140,7 +37139,7 @@

Array.prototype.concat ( ..._items_ )

IsConcatSpreadable ( - _O_: unknown, + _O_: an ECMAScript language value, ): either a normal completion containing a Boolean or a throw completion

@@ -37450,8 +37449,8 @@

_sourceLen_: a non-negative integer, _start_: a non-negative integer, _depth_: a non-negative integer or +∞, - optional _mapperFunction_: unknown, - optional _thisArg_: unknown, + optional _mapperFunction_: a function object, + optional _thisArg_: an ECMAScript language value, ): either a normal completion containing a non-negative integer or a throw completion

@@ -39504,7 +39503,7 @@

Abstract Operations for TypedArray Objects

TypedArraySpeciesCreate ( _exemplar_: a TypedArray, - _argumentList_: unknown, + _argumentList_: a List of ECMAScript language values, ): either a normal completion containing a TypedArray or a throw completion

@@ -39524,8 +39523,8 @@

TypedArrayCreate ( - _constructor_: unknown, - _argumentList_: unknown, + _constructor_: a constructor, + _argumentList_: a List of ECMAScript language values, ): either a normal completion containing a TypedArray or a throw completion

@@ -39544,7 +39543,7 @@

ValidateTypedArray ( - _O_: unknown, + _O_: an ECMAScript language value, ): either a normal completion containing ~unused~ or a throw completion

@@ -39636,8 +39635,8 @@

_TypedArray_ ( ..._args_ )

AllocateTypedArray ( _constructorName_: a String which is the name of a TypedArray constructor in , - _newTarget_: unknown, - _defaultProto_: unknown, + _newTarget_: a constructor, + _defaultProto_: a String, optional _length_: a non-negative integer, ): either a normal completion containing a TypedArray or a throw completion

@@ -39896,7 +39895,7 @@

Map ( [ _iterable_ ] )

AddEntriesFromIterable ( - _target_: unknown, + _target_: an Object, _iterable_: an ECMAScript language value, but not *undefined* or *null*, _adder_: a function object, ): either a normal completion containing an ECMAScript language value or a throw completion @@ -40805,7 +40804,7 @@

Abstract Operations For ArrayBuffer Objects

AllocateArrayBuffer ( - _constructor_: unknown, + _constructor_: a constructor, _byteLength_: a non-negative integer, ): either a normal completion containing an ArrayBuffer or a throw completion

@@ -40840,7 +40839,7 @@

DetachArrayBuffer ( _arrayBuffer_: an ArrayBuffer, - optional _key_: unknown, + optional _key_: anything, ): either a normal completion containing ~unused~ or a throw completion

@@ -40883,7 +40882,7 @@

IsUnsignedElementType ( - _type_: unknown, + _type_: a TypedArray element type, ): a Boolean

@@ -40899,7 +40898,7 @@

IsUnclampedIntegerElementType ( - _type_: unknown, + _type_: a TypedArray element type, ): a Boolean

@@ -40915,7 +40914,7 @@

IsBigIntElementType ( - _type_: unknown, + _type_: a TypedArray element type, ): a Boolean

@@ -40931,8 +40930,8 @@

IsNoTearConfiguration ( - _type_: unknown, - _order_: unknown, + _type_: a TypedArray element type, + _order_: ~SeqCst~, ~Unordered~, or ~Init~, ): a Boolean

@@ -41250,7 +41249,7 @@

Abstract Operations for SharedArrayBuffer Objects

AllocateSharedArrayBuffer ( - _constructor_: unknown, + _constructor_: a constructor, _byteLength_: a non-negative integer, ): either a normal completion containing a SharedArrayBuffer or a throw completion

@@ -41422,10 +41421,10 @@

Abstract Operations For DataView Objects

GetViewValue ( - _view_: unknown, - _requestIndex_: unknown, - _isLittleEndian_: unknown, - _type_: unknown, + _view_: an ECMAScript language value, + _requestIndex_: an ECMAScript language value, + _isLittleEndian_: an ECMAScript language value, + _type_: a TypedArray element type, ): either a normal completion containing either a Number or a BigInt, or a throw completion

@@ -41451,11 +41450,11 @@

SetViewValue ( - _view_: unknown, - _requestIndex_: unknown, - _isLittleEndian_: unknown, - _type_: unknown, - _value_: unknown, + _view_: an ECMAScript language value, + _requestIndex_: an ECMAScript language value, + _isLittleEndian_: an ECMAScript language value, + _type_: a TypedArray element type, + _value_: an ECMAScript language value, ): either a normal completion containing *undefined* or a throw completion

@@ -41826,7 +41825,7 @@

Abstract Operations for Atomics

ValidateIntegerTypedArray ( - _typedArray_: unknown, + _typedArray_: an ECMAScript language value, optional _waitable_: a Boolean, ): either a normal completion containing either an ArrayBuffer or a SharedArrayBuffer, or a throw completion

@@ -41849,7 +41848,7 @@

ValidateAtomicAccess ( _typedArray_: a TypedArray, - _requestIndex_: unknown, + _requestIndex_: an ECMAScript language value, ): either a normal completion containing an integer or a throw completion

@@ -42026,9 +42025,9 @@

AtomicReadModifyWrite ( - _typedArray_: unknown, - _index_: unknown, - _value_: unknown, + _typedArray_: an ECMAScript language value, + _index_: an ECMAScript language value, + _value_: an ECMAScript language value, _op_: a read-modify-write modification function, ): either a normal completion containing either a Number or a BigInt, or a throw completion

@@ -42556,8 +42555,8 @@

JSON Serialization Record

SerializeJSONProperty ( _state_: a JSON Serialization Record, - _key_: unknown, - _holder_: unknown, + _key_: a String, + _holder_: an Object, ): either a normal completion containing either *undefined* or a String, or a throw completion

@@ -43381,7 +43380,7 @@

Async-from-Sync Iterator Objects

CreateAsyncFromSyncIterator ( - _syncIteratorRecord_: unknown, + _syncIteratorRecord_: an Iterator Record, ): an Iterator Record

@@ -43512,7 +43511,7 @@

Properties of Async-from-Sync Iterator Instances

AsyncFromSyncIteratorContinuation ( - _result_: unknown, + _result_: an Object, _promiseCapability_: a PromiseCapability Record for an intrinsic %Promise%, ): a Promise

@@ -43686,7 +43685,7 @@

PromiseReaction Records

CreateResolvingFunctions ( - _promise_: unknown, + _promise_: a Promise, ): a Record with fields [[Resolve]] (a function object) and [[Reject]] (a function object)

@@ -43761,8 +43760,8 @@

Promise Resolve Functions

FulfillPromise ( - _promise_: unknown, - _value_: unknown, + _promise_: a Promise, + _value_: an ECMAScript language value, ): ~unused~

@@ -43782,7 +43781,7 @@

NewPromiseCapability ( - _C_: unknown, + _C_: an ECMAScript language value, ): either a normal completion containing a PromiseCapability Record or a throw completion

@@ -43814,7 +43813,7 @@

IsPromise ( - _x_: unknown, + _x_: an ECMAScript language value, ): a Boolean

@@ -43831,8 +43830,8 @@

RejectPromise ( - _promise_: unknown, - _reason_: unknown, + _promise_: a Promise, + _reason_: an ECMAScript language value, ): ~unused~

@@ -43854,7 +43853,7 @@

TriggerPromiseReactions ( _reactions_: a List of PromiseReaction Records, - _argument_: unknown, + _argument_: an ECMAScript language value, ): ~unused~

@@ -43910,7 +43909,7 @@

Promise Jobs

NewPromiseReactionJob ( _reaction_: a PromiseReaction Record, - _argument_: unknown, + _argument_: an ECMAScript language value, ): a Record with fields [[Job]] (a Job Abstract Closure) and [[Realm]] (a Realm Record or *null*)

@@ -43949,9 +43948,9 @@

NewPromiseResolveThenableJob ( - _promiseToResolve_: unknown, - _thenable_: unknown, - _then_: unknown, + _promiseToResolve_: a Promise, + _thenable_: an Object, + _then_: a JobCallback Record, ): a Record with fields [[Job]] (a Job Abstract Closure) and [[Realm]] (a Realm Record)

@@ -44058,7 +44057,7 @@

PerformPromiseAll ( - _iteratorRecord_: unknown, + _iteratorRecord_: an Iterator Record, _constructor_: a constructor, _resultCapability_: a PromiseCapability Record, _promiseResolve_: a function object, @@ -44146,7 +44145,7 @@

Promise.allSettled ( _iterable_ )

PerformPromiseAllSettled ( - _iteratorRecord_: unknown, + _iteratorRecord_: an Iterator Record, _constructor_: a constructor, _resultCapability_: a PromiseCapability Record, _promiseResolve_: a function object, @@ -44273,7 +44272,7 @@

Promise.any ( _iterable_ )

PerformPromiseAny ( - _iteratorRecord_: unknown, + _iteratorRecord_: an Iterator Record, _constructor_: a constructor, _resultCapability_: a PromiseCapability Record, _promiseResolve_: a function object, @@ -44372,7 +44371,7 @@

Promise.race ( _iterable_ )

PerformPromiseRace ( - _iteratorRecord_: unknown, + _iteratorRecord_: an Iterator Record, _constructor_: a constructor, _resultCapability_: a PromiseCapability Record, _promiseResolve_: a function object, @@ -44528,9 +44527,9 @@

Promise.prototype.then ( _onFulfilled_, _onRejected_ )

PerformPromiseThen ( - _promise_: unknown, - _onFulfilled_: unknown, - _onRejected_: unknown, + _promise_: a Promise, + _onFulfilled_: an ECMAScript language value, + _onRejected_: an ECMAScript language value, optional _resultCapability_: a PromiseCapability Record, ): an ECMAScript language value

@@ -44988,7 +44987,7 @@

Generator Abstract Operations

GeneratorStart ( - _generator_: unknown, + _generator_: a Generator, _generatorBody_: a |FunctionBody| Parse Node or an Abstract Closure with no parameters, ): ~unused~

@@ -45023,8 +45022,8 @@

GeneratorValidate ( - _generator_: unknown, - _generatorBrand_: unknown, + _generator_: an ECMAScript language value, + _generatorBrand_: a String or ~empty~, ): either a normal completion containing either ~suspendedStart~, ~suspendedYield~, or ~completed~, or a throw completion

@@ -45043,9 +45042,9 @@

GeneratorResume ( - _generator_: unknown, - _value_: unknown, - _generatorBrand_: unknown, + _generator_: an ECMAScript language value, + _value_: an ECMAScript language value or ~empty~, + _generatorBrand_: a String or ~empty~, ): either a normal completion containing an ECMAScript language value or a throw completion

@@ -45068,9 +45067,9 @@

GeneratorResumeAbrupt ( - _generator_: unknown, + _generator_: an ECMAScript language value, _abruptCompletion_: a return completion or a throw completion, - _generatorBrand_: unknown, + _generatorBrand_: a String or ~empty~, ): either a normal completion containing an ECMAScript language value or a throw completion

@@ -45152,7 +45151,7 @@

CreateIteratorFromClosure ( _closure_: an Abstract Closure with no parameters, - _generatorBrand_: unknown, + _generatorBrand_: a String or ~empty~, _generatorPrototype_: an Object, ): a Generator

@@ -45375,8 +45374,8 @@

AsyncGeneratorValidate ( - _generator_: unknown, - _generatorBrand_: unknown, + _generator_: an ECMAScript language value, + _generatorBrand_: a String or ~empty~, ): either a normal completion containing ~unused~ or a throw completion

@@ -45484,7 +45483,7 @@

AsyncGeneratorYield ( - _value_: unknown, + _value_: an ECMAScript language value, ): either a normal completion containing an ECMAScript language value or an abrupt completion

@@ -45586,7 +45585,7 @@

CreateAsyncIteratorFromClosure ( _closure_: an Abstract Closure with no parameters, - _generatorBrand_: unknown, + _generatorBrand_: a String or ~empty~, _generatorPrototype_: an Object, ): an AsyncGenerator

@@ -45718,7 +45717,7 @@

Async Functions Abstract Operations

AsyncFunctionStart ( _promiseCapability_: a PromiseCapability Record, - _asyncFunctionBody_: unknown, + _asyncFunctionBody_: a |FunctionBody| Parse Node or an |ExpressionBody| Parse Node, ): ~unused~

@@ -47530,10 +47529,10 @@

String.prototype.anchor ( _name_ )

CreateHTML ( - _string_: unknown, + _string_: an ECMAScript language value, _tag_: a String, _attribute_: a String, - _value_: unknown, + _value_: an ECMAScript language value, ): either a normal completion containing a String or a throw completion