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
Tobias Nießen 2022-04-27 04:21:58 +02:00 committed by GitHub
parent 3120691b35
commit 69467fb023
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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.