3 ms·
only slightly more frustrating that using console.log before IE 9. In those versions, if you called console.log and the console was not enabled (F12), the stat
by jgalt212 3y ago
only slightly more frustrating that using console.log before IE 9. In those versions, if you called console.log and the console was not enabled (F12), the statement who primary purpose was to debug code, would itself cause an error.
> Please note that in IE, unlike in Firefox, if the developer tools are not active, window.console is undefined and calling console.log() will break. Always protect your calls with window.console && console.log('stuff');
https://stackoverflow.com/questions/2656730/how-can-i-use-console-logging-in-internet-explorer https://stackoverflow.com/questions/2656730/how-can-i-use-co...