This aligns the `equal` and `deepEqual()` implementations with the strict versions by accepting `NaN` as being identical in case both sides are NaN. Refs: nodejs#30350 (comment)
nodejs-github-bot
added
assert
labels
Dec 2, 2019
BridgeAR
added
the
semver-major
label
Dec 2, 2019
BridgeAR
added
the
author ready
label
Dec 3, 2019BridgeAR added a commit that referenced this pull request
Dec 6, 2019This aligns the `equal` and `deepEqual()` implementations with the strict versions by accepting `NaN` as being identical in case both sides are NaN. Refs: #30350 (comment) PR-URL: #30766 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Denys Otrishko <shishugi@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>