Commit 45ae52f
authored
doc: mention constructor comparison in assert.deepStrictEqual
Updated `assert.deepStrictEqual` docs to explicitly mention that object constructors are included in the comparison.
This clarifies behavior consistent with `util.isDeepStrictEqual` and helps prevent confusion when comparing derived objects or proxy instances.1 parent 0c35aaf commit 45ae52f
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
399 | 399 | | |
400 | 400 | | |
401 | 401 | | |
| 402 | + | |
| 403 | + | |
402 | 404 | | |
403 | 405 | | |
404 | 406 | | |
| |||
0 commit comments