| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent e3a0c61 commit ffad436
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -80,9 +80,9 @@ changes: | |||
| 80 | 80 | description: Added strict mode to the assert module. | |
| 81 | 81 | --> | |
| 82 | 82 | ||
| 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()`][]. | ||
| 86 | 86 | ||
| 87 | 87 | In `strict` mode, error messages for objects display a diff. In legacy mode, | |
| 88 | 88 | error messages for objects display the objects, often truncated. | |
| Back | FazBrowse Home | New Git URL |
0 commit comments