-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
JavaScript-Boilerplate/src/js/_.main.js
Line 22 in b48bfbc
| if (JSB.config.debug && (typeof window.console !== 'undefined' && typeof window.console.log !== 'undefined') && console.debug) { |
The condition is currently written as typeof window.console.log !== 'undefined') && console.debug and then the console.debug function is called in the block. Why cant we simply check if the type of console.debug is function.
Metadata
Metadata
Assignees
Labels
No labels