From 3cf8e30e47dd1f010b7d86929670f1e8c51ecc43 Mon Sep 17 00:00:00 2001 From: Michael Dyck Date: Fri, 2 Sep 2022 09:07:52 -0700 Subject: [PATCH] Editorial: quick fixes for PR #2874 (#2885) --- spec.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec.html b/spec.html index 8530ac610c..4927a2b2b5 100644 --- a/spec.html +++ b/spec.html @@ -6059,7 +6059,7 @@

1. Assert: Type(_x_) is the same as Type(_y_). - 1. If Type(_x_) is BigInt, then + 1. If _x_ is a BigInt, then 1. Return BigInt::equal(_x_, _y_). 1. If _x_ is *undefined*, return *true*. 1. If _x_ is *null*, return *true*. @@ -6160,7 +6160,7 @@

1. If _x_ is a String and _y_ is a BigInt, return ! IsLooselyEqual(_y_, _x_). 1. If _x_ is a Boolean, return ! IsLooselyEqual(! ToNumber(_x_), _y_). 1. If _y_ is a Boolean, return ! IsLooselyEqual(_x_, ! ToNumber(_y_)). - 1. If _x_ is a either String, Number, BigInt, or Symbol and _y_ is an Object, return ! IsLooselyEqual(_x_, ? ToPrimitive(_y_)). + 1. If _x_ is either a String, a Number, a BigInt, or a Symbol and _y_ is an Object, return ! IsLooselyEqual(_x_, ? ToPrimitive(_y_)). 1. If _x_ is an Object and _y_ is either a String, a Number, a BigInt, or a Symbol, return ! IsLooselyEqual(? ToPrimitive(_x_), _y_). 1. If _x_ is a BigInt and _y_ is a Number, or if _x_ is a Number and _y_ is a BigInt, then 1. If _x_ or _y_ are any of *NaN*, *+∞*𝔽, or *-∞*𝔽, return *false*. @@ -15378,7 +15378,7 @@

1. If _trap_ is *undefined*, then 1. Return ? _target_.[[GetOwnProperty]](_P_). 1. Let _trapResultObj_ be ? Call(_trap_, _handler_, « _target_, _P_ »). - 1. If _trapResultObj_ is not an Object and _trapResultOb_ is not *undefined*, throw a *TypeError* exception. + 1. If _trapResultObj_ is not an Object and _trapResultObj_ is not *undefined*, throw a *TypeError* exception. 1. Let _targetDesc_ be ? _target_.[[GetOwnProperty]](_P_). 1. If _trapResultObj_ is *undefined*, then 1. If _targetDesc_ is *undefined*, return *undefined*.