-
-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
const vm = require("vm");
let script = new vm.Script("console.log('hello world')", { produceCachedData: true });
console.log(script.createCachedData());This fails because it's not implemented yet. We can run bytecode inside browser if this is implemented.
This is implemented here on node source, https://github.com/nodejs/node/blob/0e715dea84d67a24624516c730aa71ed04971727/src/node_contextify.cc#L787
Is it possible to implement this on vm-browserify?
Metadata
Metadata
Assignees
Labels
No labels