Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShigma <33423008+Shigma@users.noreply.github.com>2020-08-30 05:19:30 +0300
committerNode.js GitHub Bot <github-bot@iojs.org>2020-09-05 15:00:45 +0300
commit4cca942a86af6a6ce2cb8d6ea8ea6e1325d8c58a (patch)
treeeff389173f2e5d16355d0e229b83c59ab10e4a86 /doc/api/vm.md
parent3b54d0daed9d7dfc7c177194904342bb3f3bb19f (diff)
doc: fix a typo of microtaskMode
PR-URL: https://github.com/nodejs/node/pull/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>
Diffstat (limited to 'doc/api/vm.md')
-rw-r--r--doc/api/vm.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/vm.md b/doc/api/vm.md
index 80914c0ab72..e6796b4c0fb 100644
--- a/doc/api/vm.md
+++ b/doc/api/vm.md
@@ -229,7 +229,7 @@ changes:
* `wasm` {boolean} If set to false any attempt to compile a WebAssembly
module will throw a `WebAssembly.CompileError`. **Default:** `true`.
* `microtaskMode` {string} If set to `afterEvaluate`, microtasks (tasks
- scheduled through `Promise`s any `async function`s) will be run immediately
+ scheduled through `Promise`s and `async function`s) will be run immediately
after the script has run. They are included in the `timeout` and
`breakOnSigint` scopes in that case.
* Returns: {any} the result of the very last statement executed in the script.
@@ -882,7 +882,7 @@ changes:
* `wasm` {boolean} If set to false any attempt to compile a WebAssembly
module will throw a `WebAssembly.CompileError`. **Default:** `true`.
* `microtaskMode` {string} If set to `afterEvaluate`, microtasks (tasks
- scheduled through `Promise`s any `async function`s) will be run immediately
+ scheduled through `Promise`s and `async function`s) will be run immediately
after a script has run through [`script.runInContext()`][].
They are included in the `timeout` and `breakOnSigint` scopes in that case.
* Returns: {Object} contextified object.
@@ -1086,7 +1086,7 @@ changes:
recommended in order to take advantage of error tracking, and to avoid
issues with namespaces that contain `then` function exports.
* `microtaskMode` {string} If set to `afterEvaluate`, microtasks (tasks
- scheduled through `Promise`s any `async function`s) will be run immediately
+ scheduled through `Promise`s and `async function`s) will be run immediately
after the script has run. They are included in the `timeout` and
`breakOnSigint` scopes in that case.
* Returns: {any} the result of the very last statement executed in the script.