From b6776075a5d711a8db13b701c8d38f11d084511f Mon Sep 17 00:00:00 2001 From: Michael Ficarra Date: Tue, 11 Nov 2025 01:21:47 -0700 Subject: [PATCH] don't need to count realised parameters --- spec.emu | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/spec.emu b/spec.emu index 43c1da8..7f5c925 100644 --- a/spec.emu +++ b/spec.emu @@ -39,9 +39,7 @@ contributors: Jordan Harband, Mark Miller 1. Let _E_ be the *this* value. 1. If _E_ is not an Object, throw a *TypeError* exception. - 1. Let _numberOfArgs_ be the number of arguments passed to this function call. - 1. If _numberOfArgs_ is 0, throw a *TypeError* exception. - 1. Perform ? SetterThatIgnoresPrototypeProperties(*this* value, %Error.prototype%, *"stack"*, _v_). + 1. If _v_ is present, perform ? SetterThatIgnoresPrototypeProperties(*this* value, %Error.prototype%, *"stack"*, _v_). 1. Return *undefined*.