Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b6cc5d7

Browse filesBrowse files
hamzakarginaduh95
authored andcommitted
doc: mention constructor comparison in assert.deepStrictEqual
PR-URL: #60253 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Aviv Keller <me@aviv.sh>
1 parent b3fbc3c commit b6cc5d7
Copy full SHA for b6cc5d7

1 file changed

+1Lines changed: 1 addition & 0 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/assert.md‎

Copy file name to clipboardExpand all lines: doc/api/assert.md
+1Lines changed: 1 addition & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,7 @@ are also recursively evaluated by the following rules.
399399
both sides are {NaN}.
400400
* [Type tags][Object.prototype.toString()] of objects should be the same.
401401
* Only [enumerable "own" properties][] are considered.
402+
* Object constructors are compared when available.
402403
* {Error} names, messages, causes, and errors are always compared,
403404
even if these are not enumerable properties.
404405
* [Object wrappers][] are compared both as objects and unwrapped values.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.