mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
doc: revise deepEqual() legacy assertion mode text
* Remove "potentially". It's arguably misplaced and certainly unnecessary. * Use italics for words-as-words usage of _Deep equality_ rather than using quotation marks. PR-URL: https://github.com/nodejs/node/pull/31704 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
aadd8cac4b
commit
1db85aa71c
1 file changed
+2
-2
+2
-2
@@ -196,9 +196,9 @@ An alias of [`assert.deepStrictEqual()`][].
|
||||
|
||||
Tests for deep equality between the `actual` and `expected` parameters. Consider
|
||||
using [`assert.deepStrictEqual()`][] instead. [`assert.deepEqual()`][] can have
|
||||
potentially surprising results.
|
||||
surprising results.
|
||||
|
||||
"Deep" equality means that the enumerable "own" properties of child objects
|
||||
_Deep equality_ means that the enumerable "own" properties of child objects
|
||||
are also recursively evaluated by the following rules.
|
||||
|
||||
### Comparison details
|
||||
|
||||
Reference in new issue
Block a user