From 5c6f4a9115ebc86a9607a32ac7d15f9b7e5eb47c Mon Sep 17 00:00:00 2001 From: Joshua Peek Date: Sun, 5 Jun 2016 16:04:06 -0700 Subject: [PATCH] Normalize `console` in JSC --- lib/execjs/support/jsc_runner.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/execjs/support/jsc_runner.js b/lib/execjs/support/jsc_runner.js index c57a944..b7188a5 100644 --- a/lib/execjs/support/jsc_runner.js +++ b/lib/execjs/support/jsc_runner.js @@ -2,6 +2,7 @@ }, function(program) { var output; try { + delete this.console; result = program(); if (typeof result == 'undefined' && result !== null) { print('["ok"]');