Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2021-02-15 21:21:50 +0300
committercjihrig <cjihrig@gmail.com>2021-02-17 18:12:01 +0300
commitd345ac901caf374d0c5321dab5f72d4bfb3581b4 (patch)
treefe1cf361865db6bd939947695dd85e563f562c54 /doc/api/assert.md
parentbd4d9ef637f8ead4668f21181d0d781cf769fca8 (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.md4
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