Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: adds assert doc for strict mode with pointer to strict equality #30486

Closed
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
doc: fix lint issue for max line length
  • Loading branch information
shobhitchittora committed Nov 14, 2019
commit ae19fe1ceba3054df7d6d3dde5c5f5a2e40025c4
4 changes: 2 additions & 2 deletions doc/api/assert.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ changes:
In `strict` mode, `assert` functions use the comparison in the corresponding
shobhitchittora marked this conversation as resolved.
Show resolved Hide resolved
strict functions. For example, [`assert.deepEqual()`][] will behave like
[`assert.deepStrictEqual()`][]. This uses the [Strict Equality Comparison][]
shobhitchittora marked this conversation as resolved.
Show resolved Hide resolved
from the ECMAScript spec and does not refer to JavaScript strict mode (`"use strict";`)
in any way.
from the ECMAScript spec and does not refer to JavaScript strict
mode (`"use strict";`) in any way.

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