63 220
Assignments Done
99,3%
Successfully Done
In July 2018

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!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions