From f2f8cdbe0d433d36bd97d5eb18798e5cf91b8e65 Mon Sep 17 00:00:00 2001 From: Jungyeom Kim Date: Fri, 1 Nov 2024 22:07:14 +0900 Subject: [PATCH] specific type: object to constructor --- spec.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec.html b/spec.html index 652ddce78b..875831321d 100644 --- a/spec.html +++ b/spec.html @@ -19460,7 +19460,7 @@

Runtime Semantics: Evaluation

SuperCall : `super` Arguments 1. Let _newTarget_ be GetNewTarget(). - 1. Assert: _newTarget_ is an Object. + 1. Assert: _newTarget_ is a constructor. 1. Let _func_ be GetSuperConstructor(). 1. Let _argList_ be ? ArgumentListEvaluation of |Arguments|. 1. If IsConstructor(_func_) is *false*, throw a *TypeError* exception.