diff options
author | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2017-10-14 17:08:22 +0300 |
---|---|---|
committer | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2017-10-15 02:02:08 +0300 |
commit | f88178906bd0e9678f70e8f95522192adc5b3872 (patch) | |
tree | 52048f5730b784d641d27e8f3c572147307dfc11 /doc/api/assert.md | |
parent | 971aad1b132a5ec37216c0d755d3ea59afc63812 (diff) | |
download | android-node-v8-f88178906bd0e9678f70e8f95522192adc5b3872.tar.gz android-node-v8-f88178906bd0e9678f70e8f95522192adc5b3872.tar.bz2 android-node-v8-f88178906bd0e9678f70e8f95522192adc5b3872.zip |
doc: fix some links
PR-URL: https://github.com/nodejs/node/pull/16202
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'doc/api/assert.md')
-rw-r--r-- | doc/api/assert.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/assert.md b/doc/api/assert.md index 4a6b06706f..58fd6484ab 100644 --- a/doc/api/assert.md +++ b/doc/api/assert.md @@ -47,10 +47,10 @@ Primitive values are compared with the [Abstract Equality Comparison][] Only [enumerable "own" properties][] are considered. The [`assert.deepEqual()`][] implementation does not test the [`[[Prototype]]`][prototype-spec] of objects or enumerable own [`Symbol`][] -properties. For such checks, consider using [assert.deepStrictEqual()][] +properties. For such checks, consider using [`assert.deepStrictEqual()`][] instead. [`assert.deepEqual()`][] can have potentially surprising results. The following example does not throw an `AssertionError` because the properties on -the [RegExp][] object are not enumerable: +the [`RegExp`][] object are not enumerable: ```js // WARNING: This does not throw an AssertionError! |