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 ffad436

Browse filesBrowse files
shobhitchittoratargos
authored andcommitted
doc: adds assert doc for strict mode with pointer to strict equality
Refs: #30485 PR-URL: #30486 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
1 parent e3a0c61 commit ffad436
Copy full SHA for ffad436

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Open diff view settings
Collapse file

‎doc/api/assert.md‎

Copy file name to clipboardExpand all lines: doc/api/assert.md
+3-3Lines changed: 3 additions & 3 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ changes:
8080
description: Added strict mode to the assert module.
8181
-->
8282

83-
In `strict` mode, `assert` functions use the comparison in the corresponding
84-
strict functions. For example, [`assert.deepEqual()`][] will behave like
85-
[`assert.deepStrictEqual()`][].
83+
In `strict` mode (not to be confused with `"use strict"`), `assert` functions
84+
use the comparison in the corresponding strict functions. For example,
85+
[`assert.deepEqual()`][] will behave like [`assert.deepStrictEqual()`][].
8686

8787
In `strict` mode, error messages for objects display a diff. In legacy mode,
8888
error messages for objects display the objects, often truncated.

0 commit comments

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