mirror of https://github.com/nodejs/node.git
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>pull/42913/head
parent
3120691b35
commit
69467fb023
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue