- I have read the Frequently Asked Question in the README. My question is not the Frequently Asked Question.
Please answer the following questions:
- Yes
- No
- Yes
- No
- Yes
- No
- This code will parse and evaluate if I put it into a file called
main.mjs
and then runnode main.mjs
.
// Replace this code with the code which demonstrates what you are asking about
import ivm from "isolated-vm";
const isolate = new ivm.Isolate();
const context = await isolate.createContext();
console.log(await context.eval('"hello world"'));