Skip to content

Commit

Permalink
Fix javascriptcore test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
byroot committed Oct 19, 2021
1 parent 3e94078 commit 642fd30
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/execjs/support/jsc_runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
var output;
try {
delete this.console;
delete this.console;
delete this.setTimeout;
delete this.setInterval;
delete this.clearTimeout;
delete this.clearInterval;
delete this.setImmediate;
delete this.clearImmediate;

result = program();
if (typeof result == 'undefined' && result !== null) {
print('["ok"]');
Expand Down

0 comments on commit 642fd30

Please sign in to comment.