Skip to content

Commit c78d3f2

Browse files
committedMar 24, 2020
doc: improve wording in vm.md
Simplify complex sentence. Remove use of "straightforward". PR-URL: nodejs#32427 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Gus Caplan <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
1 parent 43922a5 commit c78d3f2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed
 

‎doc/api/vm.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -362,9 +362,8 @@ specification.
362362

363363
Unlike `vm.Script` however, every `vm.Module` object is bound to a context from
364364
its creation. Operations on `vm.Module` objects are intrinsically asynchronous,
365-
in contrast with the synchronous nature of `vm.Script` objects. With the help
366-
of async functions, however, manipulating `vm.Module` objects is fairly
367-
straightforward.
365+
in contrast with the synchronous nature of `vm.Script` objects. The use of
366+
'async' functions can help with manipulating `vm.Module` objects.
368367

369368
Using a `vm.Module` object requires three distinct steps: creation/parsing,
370369
linking, and evaluation. These three steps are illustrated in the following

0 commit comments

Comments
 (0)
Please sign in to comment.