diff --git a/spec.html b/spec.html index dea095bb95d..b5e2f54a128 100644 --- a/spec.html +++ b/spec.html @@ -19961,7 +19961,7 @@

Runtime Semantics: ClassDefinitionEvaluation

constructor() {}
using the syntactic grammar with the goal symbol |MethodDefinition[~Yield, ~Await]|. 1. Set the running execution context's LexicalEnvironment to _classScope_. - 1. Let _constructorInfo_ be DefineMethod of _constructor_ with arguments _proto_ and _constructorParent_. + 1. Let _constructorInfo_ be ! DefineMethod of _constructor_ with arguments _proto_ and _constructorParent_. 1. Let _F_ be _constructorInfo_.[[Closure]]. 1. If |ClassHeritage_opt| is present, set _F_.[[ConstructorKind]] to `"derived"`. 1. Perform MakeConstructor(_F_, *false*, _proto_). @@ -23379,7 +23379,7 @@

Runtime Semantics: Evaluation

ExportDeclaration : `export` `default` ClassDeclaration - 1. Let _value_ be BindingClassDeclarationEvaluation of |ClassDeclaration|. + 1. Let _value_ be ? BindingClassDeclarationEvaluation of |ClassDeclaration|. 1. Let _className_ be the sole element of BoundNames of |ClassDeclaration|. 1. If _className_ is `"*default*"`, then 1. Let _env_ be the running execution context's LexicalEnvironment.