doc: corrected typo in vm docs
Reviewed-by: Trevor Norris <trev.norris@gmail.com>
This commit is contained in:
parent
30bd7b672c
commit
d66adf0c85
@ -85,7 +85,7 @@ returns the result. Running code does not have access to local scope. The
|
|||||||
|
|
||||||
`vm.runInContext` takes the same options as `vm.runInThisContext`.
|
`vm.runInContext` takes the same options as `vm.runInThisContext`.
|
||||||
|
|
||||||
Example: compile and execute differnt scripts in a single existing context.
|
Example: compile and execute different scripts in a single existing context.
|
||||||
|
|
||||||
var util = require('util');
|
var util = require('util');
|
||||||
var vm = require('vm');
|
var vm = require('vm');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user