@@ -104,7 +104,7 @@ more on color support in terminal environments, read the tty
104
104
105
105
## Legacy assertion mode
106
106
107
- Legacy assertion mode uses the [ Abstract Equality Comparison ] [ ] ( ` == ` ) in:
107
+ Legacy assertion mode uses the ` == ` operator in:
108
108
109
109
* [ ` assert.deepEqual() ` ] [ ]
110
110
* [ ` assert.equal() ` ] [ ]
@@ -1166,7 +1166,7 @@ An alias of [`assert.strictEqual()`][].
1166
1166
> Stability: 3 - Legacy: Use [ ` assert.strictEqual() ` ] [ ] instead.
1167
1167
1168
1168
Tests shallow, coercive equality between the ` actual ` and ` expected ` parameters
1169
- using the [ Abstract Equality Comparison ] [ ] ( ` == ` ) . ` NaN ` is specially handled
1169
+ using the ` == ` operator . ` NaN ` is specially handled
1170
1170
and treated as being identical if both sides are ` NaN ` .
1171
1171
1172
1172
``` mjs
@@ -1684,8 +1684,8 @@ An alias of [`assert.notStrictEqual()`][].
1684
1684
1685
1685
> Stability: 3 - Legacy: Use [ ` assert.notStrictEqual() ` ] [ ] instead.
1686
1686
1687
- Tests shallow, coercive inequality with the [ Abstract Equality Comparison ] [ ]
1688
- ( ` != ` ) . ` NaN ` is specially handled and treated as being identical in case both
1687
+ Tests shallow, coercive inequality with the
1688
+ ` != ` . ` NaN ` is specially handled and treated as being identical in case both
1689
1689
sides are ` NaN ` .
1690
1690
1691
1691
``` mjs
@@ -2445,7 +2445,6 @@ assert.throws(throwingFirst, /Second$/);
2445
2445
Due to the confusing error-prone notation, avoid a string as the second
2446
2446
argument.
2447
2447
2448
- [ Abstract Equality Comparison ] : https://262.ecma-international.org/#sec-abstract-equality-comparison
2449
2448
[ Object wrappers ] : https://developer.mozilla.org/en-US/docs/Glossary/Primitive#Primitive_wrapper_objects_in_JavaScript
2450
2449
[ Object.prototype.toString() ] : https://tc39.github.io/ecma262/#sec-object.prototype.tostring
2451
2450
[ SameValue Comparison ] : https://tc39.github.io/ecma262/#sec-samevalue
0 commit comments