mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
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>
This commit is contained in:
1 parent
53fb735bfa
commit
cf8620394d
1 file changed
+1
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user