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: #42877
Refs: #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 danielleadams committed Jun 27, 2022
1 parent 31b8d84 commit 359c885
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 359c885

Please sign in to comment.