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.
2 parents c65b03a + 87f5e66 commit 89b3844Copy full SHA for 89b3844
cli.js
@@ -32,8 +32,10 @@ const isD8 = typeof Realm !== "undefined";
32
if (isD8)
33
globalThis.readFile = read;
34
const isSpiderMonkey = typeof newGlobal !== "undefined";
35
-if (isSpiderMonkey)
+if (isSpiderMonkey) {
36
globalThis.readFile = readRelativeToScript;
37
+ globalThis.arguments = scriptArgs;
38
+}
39
40
if (typeof arguments !== "undefined" && arguments.length > 0)
41
testList = arguments.slice();
0 commit comments