Skip to content

Commit a2bcb21

Browse files
tniessenmarco-ippolito
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 2426d3f commit a2bcb21

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
@@ -2756,7 +2756,7 @@ is drained immediately after.
27562756
27572757
So in CJS modules `process.nextTick()` callbacks are always run before `queueMicrotask()` ones.
27582758
However since ESM modules are processed already as part of the microtask queue, there
2759-
`queueMicrotask()` callbacks are always exectued before `process.nextTick()` ones since Node.js
2759+
`queueMicrotask()` callbacks are always executed before `process.nextTick()` ones since Node.js
27602760
is already in the process of draining the microtask queue.
27612761
27622762
```mjs

0 commit comments

Comments
 (0)