Skip to content

Commit 5c6f4a9

Browse files
committed
Normalize console in JSC
1 parent b0be19c commit 5c6f4a9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/execjs/support/jsc_runner.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
}, function(program) {
33
var output;
44
try {
5+
delete this.console;
56
result = program();
67
if (typeof result == 'undefined' && result !== null) {
78
print('["ok"]');

0 commit comments

Comments
 (0)