@@ -546,10 +546,6 @@ An alias of [`assert.ok()`][].
546
546
<!-- YAML
547
547
added: v0.1.21
548
548
changes:
549
- - version: REPLACEME
550
- pr-url: https://github.com/nodejs/node/pull/46593
551
- description: Recursion now stops when either side encounters a circular
552
- reference.
553
549
- version: v18.0.0
554
550
pr-url: https://github.com/nodejs/node/pull/41020
555
551
description: Regular expressions lastIndex property is now compared as well.
@@ -621,7 +617,7 @@ are also recursively evaluated by the following rules.
621
617
* [ Object wrappers] [ ] are compared both as objects and unwrapped values.
622
618
* ` Object ` properties are compared unordered.
623
619
* [ ` Map ` ] [ ] keys and [ ` Set ` ] [ ] items are compared unordered.
624
- * Recursion stops when both sides differ or either side encounters a circular
620
+ * Recursion stops when both sides differ or both sides encounter a circular
625
621
reference.
626
622
* Implementation does not test the [ ` [[Prototype]] ` ] [ prototype-spec ] of
627
623
objects.
@@ -731,10 +727,6 @@ parameter is an instance of an [`Error`][] then it will be thrown instead of the
731
727
<!-- YAML
732
728
added: v1.2.0
733
729
changes:
734
- - version: REPLACEME
735
- pr-url: https://github.com/nodejs/node/pull/46593
736
- description: Recursion now stops when either side encounters a circular
737
- reference.
738
730
- version: v18.0.0
739
731
pr-url: https://github.com/nodejs/node/pull/41020
740
732
description: Regular expressions lastIndex property is now compared as well.
@@ -788,7 +780,7 @@ are recursively evaluated also by the following rules.
788
780
* [ Object wrappers] [ ] are compared both as objects and unwrapped values.
789
781
* ` Object ` properties are compared unordered.
790
782
* [ ` Map ` ] [ ] keys and [ ` Set ` ] [ ] items are compared unordered.
791
- * Recursion stops when both sides differ or either side encounters a circular
783
+ * Recursion stops when both sides differ or both sides encounter a circular
792
784
reference.
793
785
* [ ` WeakMap ` ] [ ] and [ ` WeakSet ` ] [ ] comparison does not rely on their values. See
794
786
below for further details.
0 commit comments