GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: adds assert doc for strict mode with pointer to strict equality · nodejs/node@ffad436

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • assert.md
Expand file treeCollapse file tree
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)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.