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.
abort
1 parent 8dc5d05 commit 516e809Copy full SHA for 516e809
src/shell.js
@@ -319,7 +319,7 @@ if (ENVIRONMENT_IS_SHELL) {
319
globalThis.clearTimeout ??= (id) => {};
320
321
// spidermonkey lacks setTimeout but we use it above in readAsync.
322
- globalThis.setTimeout ??= (f) => (typeof f == 'function') ? f() : abort();
+ globalThis.setTimeout ??= (f) => f();
323
324
// v8 uses `arguments_` whereas spidermonkey uses `scriptArgs`
325
arguments_ = globalThis.arguments || globalThis.scriptArgs;
0 commit comments