Skip to content
Prev Previous commit
Next Next commit
fixup! fixup! doc: update Abstract Equality Comparison text in assert.md
  • Loading branch information
Trott committed Jan 2, 2022
commit 8e24278867f5060bc764a2912e6cd2dea47d59e7
10 changes: 5 additions & 5 deletions doc/api/assert.md
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ changes:
Legacy.
- version: v14.0.0
pr-url: https://github.com/nodejs/node/pull/30766
description: NaN is now treated as being identical in case both sides are
description: NaN is now treated as being identical if sides are
Comment thread
Trott marked this conversation as resolved.
Outdated
NaN.
- version: v12.0.0
pr-url: https://github.com/nodejs/node/pull/25008
Expand Down Expand Up @@ -1149,7 +1149,7 @@ changes:
Legacy.
- version: v14.0.0
pr-url: https://github.com/nodejs/node/pull/30766
description: NaN is now treated as being identical in case both sides are
description: NaN is now treated as being identical if sides are
Comment thread
Trott marked this conversation as resolved.
Outdated
NaN.
-->

Expand Down Expand Up @@ -1484,7 +1484,7 @@ changes:
Legacy.
- version: v14.0.0
pr-url: https://github.com/nodejs/node/pull/30766
description: NaN is now treated as being identical in case both sides are
description: NaN is now treated as being identical if sides are
Comment thread
Trott marked this conversation as resolved.
Outdated
NaN.
- version: v9.0.0
pr-url: https://github.com/nodejs/node/pull/15001
Expand Down Expand Up @@ -1668,7 +1668,7 @@ changes:
Legacy.
- version: v14.0.0
pr-url: https://github.com/nodejs/node/pull/30766
description: NaN is now treated as being identical in case both sides are
description: NaN is now treated as being identical if sides are
Comment thread
Trott marked this conversation as resolved.
Outdated
NaN.
-->

Expand All @@ -1685,7 +1685,7 @@ An alias of [`assert.notStrictEqual()`][].
> Stability: 3 - Legacy: Use [`assert.notStrictEqual()`][] instead.

Tests shallow, coercive inequality with the
`!=`. `NaN` is specially handled and treated as being identical in case both
`!=`. `NaN` is specially handled and treated as being identical if
Comment thread
Trott marked this conversation as resolved.
Outdated
sides are `NaN`.

```mjs
Expand Down