You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constsandbox=newSandbox();constcode=` function test() { console.log(arguments); // Uncaught ReferenceError: arguments is not defined } test(1, 2, 3);`;constexec=sandbox.compile(code);exec(scope).run();
However in normal JS the content code should work:
functiontest(){console.log(arguments);// OK, prints an Arguments object}test(1,2,3);
The text was updated successfully, but these errors were encountered:
This code doesn't currently work in SandboxJS (you can try it quick on the dev tools in https://nyariv.github.io/SandboxJS/):
However in normal JS the content code should work:
The text was updated successfully, but these errors were encountered: