Skip to content

Commit

Permalink
Update doc/api/assert.md
Browse files Browse the repository at this point in the history
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
  • Loading branch information
Trott and aduh95 authored Jun 16, 2024
1 parent fbcdcf6 commit d977fd6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions doc/api/assert.md
Original file line number Diff line number Diff line change
Expand Up @@ -2551,8 +2551,7 @@ added: REPLACEME

Evaluates the equivalence between the `actual` and `expected` parameters by
performing a deep comparison. This function ensures that all properties defined
in the `expected` parameter exactly match those in the `actual` parameter in
both value and type, without allowing type coercion.
in the `expected` parameter loosely match those in the `actual` parameter in value, allowing type coercion.

```mjs
import assert from 'node:assert';
Expand Down

0 comments on commit d977fd6

Please sign in to comment.