4 ms·
This will throw if console is not defined. Try if (!window.console) Or if (typeof console == 'undefined') Or if !('console' in window)) N
by marcuswestin 16y ago
This will throw if console is not defined. Try
if (!window.console)
Or
if (typeof console == 'undefined')
Or
if !('console' in window))
N
- geocar 16y agoDoesn't here. What are you using?