Skip to content

Commit

Permalink
doc: fix markdown formatting in primordials.md
Browse files Browse the repository at this point in the history
PR-URL: nodejs/node#42877
Refs: nodejs/node#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>
  • Loading branch information
tniessen authored and guangwong committed Oct 10, 2022
1 parent 62ecf65 commit 42f3c4a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/contributing/primordials.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 42f3c4a

Please sign in to comment.