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>
This commit is contained in:
Daniel Bevenius 2018-05-08 13:17:24 +02:00
parent 590769bb96
commit 5c9572d9d1

View File

@ -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. it has a different global object than the rest of the code.
One can provide the context by ["contextifying"][contextified] a sandbox One can provide the context by ["contextifying"][contextified] a sandbox
object. The sandboxed code treats any property on the sandbox like a object. The sandboxed code treats any property in the sandbox like a
global variable. Any changes on global variables caused by the sandboxed global variable. Any changes to global variables caused by the sandboxed
code are reflected in the sandbox object. code are reflected in the sandbox object.
```js ```js