Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
doc: mention constructor check in deepStrictEqual
Signed-off-by: skdas20 <skdas5405@gmail.com>
  • Loading branch information
skdas20 committed Jul 26, 2026
commit e81663b7d536e896e65e3adc12df3650ec064f8e
1 change: 1 addition & 0 deletions doc/api/assert.md
Original file line number Diff line number Diff line change
Expand Up @@ -612,6 +612,7 @@ are recursively evaluated also by the following rules.
* [`[[Prototype]]`][prototype-spec] of objects are compared using
the [`===` operator][].
* Only [enumerable "own" properties][] are considered.
* Object constructors are compared when available.
* {Error} names, messages, causes, and errors are always compared,
even if these are not enumerable properties.
`errors` is also compared.
Expand Down
Loading