diff options
author | cjihrig <cjihrig@gmail.com> | 2021-02-15 21:21:50 +0300 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2021-02-17 18:12:01 +0300 |
commit | d345ac901caf374d0c5321dab5f72d4bfb3581b4 (patch) | |
tree | fe1cf361865db6bd939947695dd85e563f562c54 /doc/api/assert.md | |
parent | bd4d9ef637f8ead4668f21181d0d781cf769fca8 (diff) |
doc: use **Default:** more consistently
It seems that **Default:** was unofficially decided on as
the way to specify default values. This commit updates the API
documentation to use this format more consistently.
PR-URL: https://github.com/nodejs/node/pull/37387
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Pooja D P <Pooja.D.P@ibm.com>
Reviewed-By: Darshan Sen <raisinten@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 f32d11c6eda..32f7499e953 100644 --- a/doc/api/assert.md +++ b/doc/api/assert.md @@ -207,8 +207,8 @@ added: - v12.19.0 --> -* `fn` {Function} **Default** A no-op function. -* `exact` {number} **Default** `1`. +* `fn` {Function} **Default:** A no-op function. +* `exact` {number} **Default:** `1`. * Returns: {Function} that wraps `fn`. The wrapper function is expected to be called exactly `exact` times. If the |