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:
authorRich Trott <rtrott@gmail.com>2020-03-22 19:45:36 +0300
committerRich Trott <rtrott@gmail.com>2020-03-24 20:24:37 +0300
commitc78d3f22560fb6d7080713c3a77b3759b088dfd0 (patch)
treed5491e7b4ffb31aa56783109db9eae2c995cec37 /doc/api/vm.md
parent43922a55ea35c2ceb376e9c62e542ee4f696f1d0 (diff)
doc: improve wording in vm.md
Simplify complex sentence. Remove use of "straightforward". PR-URL: https://github.com/nodejs/node/pull/32427 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'doc/api/vm.md')
-rw-r--r--doc/api/vm.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/api/vm.md b/doc/api/vm.md
index 91d16be3986..ec731ffd36c 100644
--- a/doc/api/vm.md
+++ b/doc/api/vm.md
@@ -362,9 +362,8 @@ specification.
Unlike `vm.Script` however, every `vm.Module` object is bound to a context from
its creation. Operations on `vm.Module` objects are intrinsically asynchronous,
-in contrast with the synchronous nature of `vm.Script` objects. With the help
-of async functions, however, manipulating `vm.Module` objects is fairly
-straightforward.
+in contrast with the synchronous nature of `vm.Script` objects. The use of
+'async' functions can help with manipulating `vm.Module` objects.
Using a `vm.Module` object requires three distinct steps: creation/parsing,
linking, and evaluation. These three steps are illustrated in the following