doc: fix typo in section on microtask order · nodejs/node@1e723f9

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