doc: fix typo in section on microtask order

PR-URL: https://github.com/nodejs/node/pull/59932
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
This commit is contained in:
Tobias Nießen authored and Marco Ippolito committed 2025-11-19 18:17:47 +01:00
1 parent 2426d3f3ff
commit a2bcb217c6
1 file changed
+1 -1
+1 -1
View File
@@ -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