Skip to content

Commit

Permalink
Normalize console in JSC
Browse files Browse the repository at this point in the history
  • Loading branch information
josh committed Jun 5, 2016
1 parent b0be19c commit 5c6f4a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/execjs/support/jsc_runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
}, function(program) {
var output;
try {
delete this.console;
result = program();
if (typeof result == 'undefined' && result !== null) {
print('["ok"]');
Expand Down

0 comments on commit 5c6f4a9

Please sign in to comment.