Skip to content

Commit c3a3cb6

Browse files
shigmarichardlau
authored andcommitted
doc: fix a typo of microtaskMode
PR-URL: #34980 Reviewed-By: Derek Lewis <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Harshitha K P <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent a846a9f commit c3a3cb6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎doc/api/vm.md‎

Lines changed: 3 additions & 3 deletions
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.
@@ -878,7 +878,7 @@ changes:
878878
* `wasm`{boolean} If set to false any attempt to compile a WebAssembly
879879
module will throw a `WebAssembly.CompileError`. **Default:**`true`.
880880
*`microtaskMode`{string} If set to `afterEvaluate`, microtasks (tasks
881-
scheduled through `Promise`s any`async function`s) will be run immediately
881+
scheduled through `Promise`s and`async function`s) will be run immediately
882882
after a script has run through [`script.runInContext()`][].
883883
They are included in the `timeout` and `breakOnSigint` scopes in that case.
884884
* Returns:{Object} contextified object.
@@ -1082,7 +1082,7 @@ changes:
10821082
recommended in order to take advantage of error tracking, and to avoid
10831083
issues with namespaces that contain `then` function exports.
10841084
* `microtaskMode`{string} If set to `afterEvaluate`, microtasks (tasks
1085-
scheduled through `Promise`s any `async function`s) will be run immediately
1085+
scheduled through `Promise`s and `async function`s) will be run immediately
10861086
after the script has run. They are included in the `timeout` and
10871087
`breakOnSigint` scopes in that case.
10881088
* Returns:{any} the result of the very last statement executed in the script.

0 commit comments

Comments
(0)