We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46d14fc commit fd5a0c7Copy full SHA for fd5a0c7
doc/api/vm.md
@@ -198,7 +198,7 @@ const contextifiedSandbox = vm.createContext({ secret: 42 });
198
});
199
// Since module has no dependencies, the linker function will never be called.
200
await module.link(() => {});
201
- module.initialize();
+ module.instantiate();
202
await module.evaluate();
203
204
// Now, Object.prototype.secret will be equal to 42.
0 commit comments