doc: remove superfluous MDN link in assert.md
PR-URL: https://github.com/nodejs/node/pull/28246 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
parent
a13054549e
commit
a013aa0f5e
@ -8,9 +8,6 @@ The `assert` module provides a set of assertion functions for verifying
|
|||||||
invariants. The module provides a recommended [`strict` mode][] and a more
|
invariants. The module provides a recommended [`strict` mode][] and a more
|
||||||
lenient legacy mode.
|
lenient legacy mode.
|
||||||
|
|
||||||
For more information about the used equality comparisons see
|
|
||||||
[MDN's guide on equality comparisons and sameness][mdn-equality-guide].
|
|
||||||
|
|
||||||
## Class: assert.AssertionError
|
## Class: assert.AssertionError
|
||||||
|
|
||||||
A subclass of `Error` that indicates the failure of an assertion. All errors
|
A subclass of `Error` that indicates the failure of an assertion. All errors
|
||||||
@ -1289,5 +1286,4 @@ second argument. This might lead to difficult-to-spot errors.
|
|||||||
[SameValue Comparison]: https://tc39.github.io/ecma262/#sec-samevalue
|
[SameValue Comparison]: https://tc39.github.io/ecma262/#sec-samevalue
|
||||||
[Strict Equality Comparison]: https://tc39.github.io/ecma262/#sec-strict-equality-comparison
|
[Strict Equality Comparison]: https://tc39.github.io/ecma262/#sec-strict-equality-comparison
|
||||||
[enumerable "own" properties]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Enumerability_and_ownership_of_properties
|
[enumerable "own" properties]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Enumerability_and_ownership_of_properties
|
||||||
[mdn-equality-guide]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Equality_comparisons_and_sameness
|
|
||||||
[prototype-spec]: https://tc39.github.io/ecma262/#sec-ordinary-object-internal-methods-and-internal-slots
|
[prototype-spec]: https://tc39.github.io/ecma262/#sec-ordinary-object-internal-methods-and-internal-slots
|
||||||
|
Loading…
x
Reference in New Issue
Block a user