summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/api/assert.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/assert.md b/doc/api/assert.md
index b0c8c378e6..9d1a7fb7e1 100644
--- a/doc/api/assert.md
+++ b/doc/api/assert.md
@@ -80,9 +80,9 @@ changes:
description: Added strict mode to the assert module.
-->
-In `strict` mode, `assert` functions use the comparison in the corresponding
-strict functions. For example, [`assert.deepEqual()`][] will behave like
-[`assert.deepStrictEqual()`][].
+In `strict` mode (not to be confused with `"use strict"`), `assert` functions
+use the comparison in the corresponding strict functions. For example,
+[`assert.deepEqual()`][] will behave like [`assert.deepStrictEqual()`][].
In `strict` mode, error messages for objects display a diff. In legacy mode,
error messages for objects display the objects, often truncated.