diff --git a/spec.html b/spec.html index 05edf86288a..33568112067 100644 --- a/spec.html +++ b/spec.html @@ -13252,8 +13252,8 @@

DefineMethodProperty ( - _key_: a property key or Private Name, _homeObject_: an Object, + _key_: a property key or Private Name, _closure_: a function object, _enumerable_: a Boolean, ) @@ -23169,7 +23169,7 @@

Runtime Semantics: MethodDefinitionEvaluation

1. Let _methodDef_ be ? DefineMethod of |MethodDefinition| with argument _object_. 1. Perform ! SetFunctionName(_methodDef_.[[Closure]], _methodDef_.[[Key]]). - 1. Return ? DefineMethodProperty(_methodDef_.[[Key]], _object_, _methodDef_.[[Closure]], _enumerable_). + 1. Return ? DefineMethodProperty(_object_, _methodDef_.[[Key]], _methodDef_.[[Closure]], _enumerable_). MethodDefinition : `get` ClassElementName `(` `)` `{` FunctionBody `}` @@ -23218,7 +23218,7 @@

Runtime Semantics: MethodDefinitionEvaluation

1. Perform SetFunctionName(_closure_, _propKey_). 1. Let _prototype_ be ! OrdinaryObjectCreate(%GeneratorFunction.prototype.prototype%). 1. Perform ! DefinePropertyOrThrow(_closure_, *"prototype"*, PropertyDescriptor { [[Value]]: _prototype_, [[Writable]]: *true*, [[Enumerable]]: *false*, [[Configurable]]: *false* }). - 1. Return ? DefineMethodProperty(_propKey_, _object_, _closure_, _enumerable_). + 1. Return ? DefineMethodProperty(_object_, _propKey_, _closure_, _enumerable_).
AsyncGeneratorMethod : `async` `*` ClassElementName `(` UniqueFormalParameters `)` `{` AsyncGeneratorBody `}` @@ -23234,7 +23234,7 @@

Runtime Semantics: MethodDefinitionEvaluation

1. Perform ! SetFunctionName(_closure_, _propKey_). 1. Let _prototype_ be ! OrdinaryObjectCreate(%AsyncGeneratorFunction.prototype.prototype%). 1. Perform ! DefinePropertyOrThrow(_closure_, *"prototype"*, PropertyDescriptor { [[Value]]: _prototype_, [[Writable]]: *true*, [[Enumerable]]: *false*, [[Configurable]]: *false* }). - 1. Return ? DefineMethodProperty(_propKey_, _object_, _closure_, _enumerable_). + 1. Return ? DefineMethodProperty(_object_, _propKey_, _closure_, _enumerable_). AsyncMethod : `async` ClassElementName `(` UniqueFormalParameters `)` `{` AsyncFunctionBody `}` @@ -23248,7 +23248,7 @@

Runtime Semantics: MethodDefinitionEvaluation

1. Let _closure_ be ! OrdinaryFunctionCreate(%AsyncFunction.prototype%, _sourceText_, |UniqueFormalParameters|, |AsyncFunctionBody|, ~non-lexical-this~, _scope_, _privateScope_). 1. Perform ! MakeMethod(_closure_, _object_). 1. Perform ! SetFunctionName(_closure_, _propKey_). - 1. Return ? DefineMethodProperty(_propKey_, _object_, _closure_, _enumerable_). + 1. Return ? DefineMethodProperty(_object_, _propKey_, _closure_, _enumerable_).