From 3d752cd3b9f14308934be95b130cb401341f4c89 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 e6792385ef2138..595f4fdfa40ccc 100644 --- a/doc/api/vm.md +++ b/doc/api/vm.md @@ -312,9 +312,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