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
path: root/doc
diff options
context:
space:
mode:
authorTobias Nießen <tniessen@tnie.de>2022-04-27 05:21:58 +0300
committerGitHub <noreply@github.com>2022-04-27 05:21:58 +0300
commit69467fb023b75d35eb51a8e9cb7fed6d0dc957e4 (patch)
tree8525d5e654c9de7405f67560074a65a6bf6ac77f /doc
parent3120691b35553a2ce3d62419b44fc4a0b9143e99 (diff)
doc: fix markdown formatting in primordials.md
PR-URL: https://github.com/nodejs/node/pull/42877 Refs: https://github.com/nodejs/node/pull/38635 Reviewed-By: Beth Griggs <bgriggs@redhat.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Zeyu Yang <himself65@outlook.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Danielle Adams <adamzdanielle@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/contributing/primordials.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/contributing/primordials.md b/doc/contributing/primordials.md
index fe20fdd9094..ad996b4de64 100644
--- a/doc/contributing/primordials.md
+++ b/doc/contributing/primordials.md
@@ -400,6 +400,7 @@ process.on('exit', () => console.log(finallyBlockExecuted)); // true
You can use safe alternatives from primordials that differ slightly from the
original methods:
+
* It expects an array (or array-like object) instead of an iterable.
* It wraps each promise in `SafePromise` objects and wraps the result in a new
`Promise` instance – which may come with a performance penalty.