From c78d3f22560fb6d7080713c3a77b3759b088dfd0 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sun, 22 Mar 2020 09:45:36 -0700 Subject: [PATCH] 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 Reviewed-By: Luigi Pinca Reviewed-By: Gus Caplan Reviewed-By: James M Snell Reviewed-By: Trivikram Kamat --- doc/api/vm.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/api/vm.md b/doc/api/vm.md index 91d16be3986d22..ec731ffd36c6a0 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