76 361
Assignments Done
Successfully Done
In May 2019

Answer to Question #37190 in AJAX | JavaScript | HTML | PHP for Vijayakumar

Question #37190
how to fix Consol.log Script error is "undefined" ?
Expert's answer
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

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!


No comments. Be first!

Leave a comment

Ask Your question

Privacy policy Terms and Conditions