1
0
Fork 0
mirror of https://github.com/rails/execjs synced 2023-03-27 23:21:20 -04:00

Fix javascriptcore test suite

This commit is contained in:
Jean Boussier 2021-10-19 09:51:41 +02:00
parent 3e94078793
commit 642fd306be

View file

@ -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"]');