FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

doc: mention constructors in deepStrictEqual by MukundaKatta · Pull Request #63337 · nodejs/node · GitHub

/ node Public

doc: mention constructors in deepStrictEqual - #63337

Closed
MukundaKatta wants to merge 1 commit into
nodejs:mainfrom
MukundaKatta:codex/doc-assert-constructor-comparison
Closed

doc: mention constructors in deepStrictEqual#63337
MukundaKatta wants to merge 1 commit into
nodejs:mainfrom
MukundaKatta:codex/doc-assert-constructor-comparison

Conversation

Copy link
Copy Markdown

Fixes: #60239

This updates the assert.deepStrictEqual() comparison details to explicitly mention that object constructors are compared when available.

The behavior was already documented for Assert's skipPrototype option and util.isDeepStrictEqual(), but the assert.deepStrictEqual() comparison list omitted it.

Validation:

  • git diff --check
  • node tools/lint-md/lint-md.mjs doc/api/assert.md

nodejs-github-bot added assert Issues and PRs related to the assert subsystem. doc Issues and PRs related to the documentations. labels May 15, 2026

Copy link
Copy Markdown
Author

Withdrawing — stepping away from new PRs here for now.

Copy link
Copy Markdown
Contributor

This duplicates #60253 and #62010 .

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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. doc Issues and PRs related to the documentations.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update assert.deepStrictEqual docs to mention .constructor property

3 participants


Back | FazBrowse Home | New Git URL