From b9a961da042d717a09d55c9956598f5111af3e7a Mon Sep 17 00:00:00 2001 From: jmdyck Date: Wed, 19 Oct 2022 21:10:44 -0400 Subject: [PATCH] Update JavaScript equality algorithm references Follows https://github.com/tc39/ecma262/pull/2378. --- source | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source b/source index 06bd03af0f6..4d8cb26a588 100644 --- a/source +++ b/source @@ -2949,8 +2949,8 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
  • The ToUint32 abstract operation
  • The TypedArrayCreate abstract operation
  • -
  • The Abstract Equality Comparison algorithm
  • -
  • The Strict Equality Comparison algorithm
  • +
  • The IsLooselyEqual abstract operation
  • +
  • The IsStrictlyEqual abstract operation
  • The Atomics object
  • The Date class
  • The FinalizationRegistry class
  • @@ -8048,11 +8048,11 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
  • The ToBoolean abstract operation in JavaScript returns false when given objects implementing the HTMLAllCollection interface.

  • -
  • The Abstract Equality Comparison algorithm, +

  • The IsLooselyEqual abstract operation, when given objects implementing the HTMLAllCollection interface, returns true when compared to the undefined and null values. - (Comparisons using the Strict Equality Comparison - algorithm, and Abstract Equality comparisons to other values such as strings or objects, are + (Comparisons using the IsStrictlyEqual abstract + operation, and IsLooselyEqual comparisons to other values such as strings or objects, are unaffected.)

  • The typeof operator in JavaScript returns the string