Skip to content

Commit 1e723f9

Browse files
tniessentargos
authored andcommitted
doc: fix typo in section on microtask order
PR-URL: #59932 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
1 parent 05e560d commit 1e723f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/process.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3096,7 +3096,7 @@ is drained immediately after.
30963096
30973097
So in CJS modules `process.nextTick()` callbacks are always run before `queueMicrotask()` ones.
30983098
However since ESM modules are processed already as part of the microtask queue, there
3099-
`queueMicrotask()` callbacks are always exectued before `process.nextTick()` ones since Node.js
3099+
`queueMicrotask()` callbacks are always executed before `process.nextTick()` ones since Node.js
31003100
is already in the process of draining the microtask queue.
31013101
31023102
```mjs

0 commit comments

Comments
 (0)