From 0d443cce63086efc4e76018b16fa9b95b4c0b96b Mon Sep 17 00:00:00 2001 From: Michael Ficarra Date: Tue, 11 Nov 2025 01:20:33 -0700 Subject: [PATCH] use = for numeric comparisons --- spec.emu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec.emu b/spec.emu index 43c1da8..c9117f9 100644 --- a/spec.emu +++ b/spec.emu @@ -40,7 +40,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. If _numberOfArgs_ = 0, throw a *TypeError* exception. 1. Perform ? SetterThatIgnoresPrototypeProperties(*this* value, %Error.prototype%, *"stack"*, _v_). 1. Return *undefined*.