From d345ac901caf374d0c5321dab5f72d4bfb3581b4 Mon Sep 17 00:00:00 2001 From: cjihrig Date: Mon, 15 Feb 2021 13:21:50 -0500 Subject: doc: use **Default:** more consistently MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-By: Benjamin Gruenbaum Reviewed-By: Michaël Zasso Reviewed-By: Luigi Pinca Reviewed-By: Rich Trott Reviewed-By: Gireesh Punathil Reviewed-By: Tobias Nießen Reviewed-By: Pooja D P Reviewed-By: Darshan Sen --- doc/api/assert.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/api/assert.md') 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 -- cgit v1.2.3