mirror of
https://github.com/rails/execjs
synced 2023-03-27 23:21:20 -04:00
Normalize console
in JSC
This commit is contained in:
parent
b0be19c73d
commit
5c6f4a9115
1 changed files with 1 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
|||
}, function(program) {
|
||||
var output;
|
||||
try {
|
||||
delete this.console;
|
||||
result = program();
|
||||
if (typeof result == 'undefined' && result !== null) {
|
||||
print('["ok"]');
|
||||
|
|
Loading…
Reference in a new issue