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 <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Zeyu Yang <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Danielle Adams <[email protected]>
  • Loading branch information
tniessen authored and juanarbol committed May 31, 2022
1 parent 6f0edeb commit bc0d8a3
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 bc0d8a3

Please sign in to comment.