From a2bcb217c663002e8663baada18c08ebd275b2fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Tue, 23 Sep 2025 12:33:13 +0200 Subject: [PATCH] doc: fix typo in section on microtask order PR-URL: https://github.com/nodejs/node/pull/59932 Reviewed-By: Luigi Pinca Reviewed-By: Chengzhong Wu --- doc/api/process.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/process.md b/doc/api/process.md index 9f72b88bf70..bf0d31798d1 100644 --- a/doc/api/process.md +++ b/doc/api/process.md @@ -2756,7 +2756,7 @@ is drained immediately after. So in CJS modules `process.nextTick()` callbacks are always run before `queueMicrotask()` ones. However since ESM modules are processed already as part of the microtask queue, there -`queueMicrotask()` callbacks are always exectued before `process.nextTick()` ones since Node.js +`queueMicrotask()` callbacks are always executed before `process.nextTick()` ones since Node.js is already in the process of draining the microtask queue. ```mjs