Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 10bdb59

Browse filesBrowse files
Trotttargos
authored andcommitted
doc: add reference for === operator in assert.md
PR-URL: #41442 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent e1ff452 commit 10bdb59
Copy full SHA for 10bdb59

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Collapse file

‎doc/api/assert.md‎

Copy file name to clipboardExpand all lines: doc/api/assert.md
+2-2Lines changed: 2 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ are recursively evaluated also by the following rules.
682682
[`Object.is()`][].
683683
* [Type tags][Object.prototype.toString()] of objects should be the same.
684684
* [`[[Prototype]]`][prototype-spec] of objects are compared using
685-
the [Strict Equality Comparison][].
685+
the [`===` operator][].
686686
* Only [enumerable "own" properties][] are considered.
687687
* [`Error`][] names and messages are always compared, even if these are not
688688
enumerable properties.
@@ -2437,8 +2437,8 @@ argument.
24372437
[Object wrappers]: https://developer.mozilla.org/en-US/docs/Glossary/Primitive#Primitive_wrapper_objects_in_JavaScript
24382438
[Object.prototype.toString()]: https://tc39.github.io/ecma262/#sec-object.prototype.tostring
24392439
[SameValue Comparison]: https://tc39.github.io/ecma262/#sec-samevalue
2440-
[Strict Equality Comparison]: https://tc39.github.io/ecma262/#sec-strict-equality-comparison
24412440
[`!=` operator]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Inequality
2441+
[`===` operator]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Strict_equality
24422442
[`==` operator]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Equality
24432443
[`AssertionError`]: #class-assertassertionerror
24442444
[`CallTracker`]: #class-assertcalltracker

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.