Skip to content

Commit 4cca942

Browse files
shigmanodejs-github-bot
authored andcommitted
doc: fix a typo of microtaskMode
PR-URL: nodejs#34980 Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Harshitha K P <harshitha014@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 3b54d0d commit 4cca942

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/vm.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ changes:
229229
* `wasm` {boolean} If set to false any attempt to compile a WebAssembly
230230
module will throw a `WebAssembly.CompileError`. **Default:** `true`.
231231
* `microtaskMode` {string} If set to `afterEvaluate`, microtasks (tasks
232-
scheduled through `Promise`s any `async function`s) will be run immediately
232+
scheduled through `Promise`s and `async function`s) will be run immediately
233233
after the script has run. They are included in the `timeout` and
234234
`breakOnSigint` scopes in that case.
235235
* Returns: {any} the result of the very last statement executed in the script.
@@ -882,7 +882,7 @@ changes:
882882
* `wasm` {boolean} If set to false any attempt to compile a WebAssembly
883883
module will throw a `WebAssembly.CompileError`. **Default:** `true`.
884884
* `microtaskMode` {string} If set to `afterEvaluate`, microtasks (tasks
885-
scheduled through `Promise`s any `async function`s) will be run immediately
885+
scheduled through `Promise`s and `async function`s) will be run immediately
886886
after a script has run through [`script.runInContext()`][].
887887
They are included in the `timeout` and `breakOnSigint` scopes in that case.
888888
* Returns: {Object} contextified object.
@@ -1086,7 +1086,7 @@ changes:
10861086
recommended in order to take advantage of error tracking, and to avoid
10871087
issues with namespaces that contain `then` function exports.
10881088
* `microtaskMode` {string} If set to `afterEvaluate`, microtasks (tasks
1089-
scheduled through `Promise`s any `async function`s) will be run immediately
1089+
scheduled through `Promise`s and `async function`s) will be run immediately
10901090
after the script has run. They are included in the `timeout` and
10911091
`breakOnSigint` scopes in that case.
10921092
* Returns: {any} the result of the very last statement executed in the script.

0 commit comments

Comments
 (0)