how to fix Consol.log Script error is "undefined" ?
1
Expert's answer
2013-11-26T09:49:49-0500
function LogException(e) { if (window.console // check for window.console not console && window.console.log) window.console.log(e); // Other logging here }
try { ... // code throwing error } catch (e) { LogException(e); // works fine }
Comments
Leave a comment