From bc0d8a37cc195e96e17a9cb66fcd80d6224fc267 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Wed, 27 Apr 2022 04:21:58 +0200 Subject: [PATCH] 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 Reviewed-By: Richard Lau Reviewed-By: Colin Ihrig Reviewed-By: Zeyu Yang Reviewed-By: Rich Trott Reviewed-By: Danielle Adams --- doc/contributing/primordials.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/contributing/primordials.md b/doc/contributing/primordials.md index fe20fdd9094d04..ad996b4de6454d 100644 --- a/doc/contributing/primordials.md +++ b/doc/contributing/primordials.md @@ -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.