diff options
author | Daniel Bevenius <daniel.bevenius@gmail.com> | 2018-05-08 13:17:24 +0200 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2018-05-09 10:23:21 +0200 |
commit | 5c9572d9d13af9041a93742eb753cf2e61f8e907 (patch) | |
tree | 7cb6d098838754e4dd651ac9bdcde66a9b19ce38 /doc/api/vm.md | |
parent | 590769bb96a9012e85b06569952743abb8fe68ad (diff) | |
download | android-node-v8-5c9572d9d13af9041a93742eb753cf2e61f8e907.tar.gz android-node-v8-5c9572d9d13af9041a93742eb753cf2e61f8e907.tar.bz2 android-node-v8-5c9572d9d13af9041a93742eb753cf2e61f8e907.zip |
doc: update VM section text
This commit updates the VM section with suggestion for a minor
improvement (hopefully) of the text.
PR-URL: https://github.com/nodejs/node/pull/20595
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'doc/api/vm.md')
-rw-r--r-- | doc/api/vm.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/vm.md b/doc/api/vm.md index 9e1249dc4e..cc9b313538 100644 --- a/doc/api/vm.md +++ b/doc/api/vm.md @@ -17,8 +17,8 @@ The sandboxed code uses a different V8 Context, meaning that it has a different global object than the rest of the code. One can provide the context by ["contextifying"][contextified] a sandbox -object. The sandboxed code treats any property on the sandbox like a -global variable. Any changes on global variables caused by the sandboxed +object. The sandboxed code treats any property in the sandbox like a +global variable. Any changes to global variables caused by the sandboxed code are reflected in the sandbox object. ```js |