1.

What kind of error notifications are shown in the console window?(a) Syntax error(b) Runtime error(c) Both Syntax error and Runtime error(d) Compilation errorThe question was posed to me in an interview for job.I'm obligated to ask this question of Forms of Debugging topic in portion Caching, Debugging and Animation of JavaScript

Answer»

Correct choice is (c) Both Syntax error and Runtime error

For EXPLANATION: The BROWSERS like Firefox, Netscape and Mozilla send error messages to a special window called the JavaScript CONSOLE or Error Console. Error notifications that show up on Console or through Internet Explorer DIALOG boxes are the result of both syntax and runtime ERRORS. These error notification include the line number at which the error occurred.



Discussion

No Comment Found

Related InterviewSolutions