Skip to content

Commit 0a72b2c

Browse files
authored
doc: fix typo in section on microtask order
PR-URL: #59932 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]>
1 parent 3c0c160 commit 0a72b2c

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
@@ -3013,7 +3013,7 @@ is drained immediately after.
30133013
30143014
So in CJS modules `process.nextTick()` callbacks are always run before `queueMicrotask()` ones.
30153015
However since ESM modules are processed already as part of the microtask queue, there
3016-
`queueMicrotask()` callbacks are always exectued before `process.nextTick()` ones since Node.js
3016+
`queueMicrotask()` callbacks are always executed before `process.nextTick()` ones since Node.js
30173017
is already in the process of draining the microtask queue.
30183018
30193019
```mjs

0 commit comments

Comments
 (0)