Skip to content

doc: mention constructor comparison in assert.deepStrictEqual#60253

Merged
nodejs-github-bot merged 1 commit intonodejs:mainfrom
hamzakargin:update-assert-docs-constructor
Jan 24, 2026
Merged

doc: mention constructor comparison in assert.deepStrictEqual#60253
nodejs-github-bot merged 1 commit intonodejs:mainfrom
hamzakargin:update-assert-docs-constructor

Conversation

@hamzakargin
Copy link
Copy Markdown
Contributor

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.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

assert Issues and PRs related to the assert subsystem. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. doc Issues and PRs related to the documentations.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants