diff options
author | Rich Trott <rtrott@gmail.com> | 2020-03-22 19:45:36 +0300 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2020-03-24 20:24:37 +0300 |
commit | c78d3f22560fb6d7080713c3a77b3759b088dfd0 (patch) | |
tree | d5491e7b4ffb31aa56783109db9eae2c995cec37 /doc/api/vm.md | |
parent | 43922a55ea35c2ceb376e9c62e542ee4f696f1d0 (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.md | 5 |
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 |