diff --git a/lib/vm.js b/lib/vm.js index 364a37eacbe7ce..73359c1b6825b0 100644 --- a/lib/vm.js +++ b/lib/vm.js @@ -4,8 +4,8 @@ const binding = process.binding('contextify'); const Script = binding.ContextifyScript; // The binding provides a few useful primitives: -// - ContextifyScript(code, { filename = "evalmachine.anonymous", -// displayErrors = true } = {}) +// - Script(code, { filename = "evalmachine.anonymous", +// displayErrors = true } = {}) // with methods: // - runInThisContext({ displayErrors = true } = {}) // - runInContext(sandbox, { displayErrors = true, timeout = undefined } = {})