We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 953162b + 6af0b4d commit 3a285beCopy full SHA for 3a285be
browser.js
@@ -103,8 +103,8 @@ function formatArgs() {
103
function log() {
104
// This hackery is required for IE8,
105
// where the `console.log` function doesn't have 'apply'
106
- return 'object' == typeof console
107
- && 'function' == typeof console.log
+ return console
+ && console.log
108
&& Function.prototype.apply.call(console.log, console, arguments);
109
}
110
0 commit comments