Expert Developer JavaScript Question: Download Expert JavaScript Developer PDF
What are the different types of errors in JavaScript?
Answer:
There are three types of errors:
► Load time errors: Errors which come up when loading a web page like improper syntax errors are known as Load time errors and it generates the errors dynamically.
► Run time errors: Errors that come due to misuse of the command inside the HTML language.
► Logical Errors: These are the errors that occur due to the bad logic performed on a function which is having different operation.
► Load time errors: Errors which come up when loading a web page like improper syntax errors are known as Load time errors and it generates the errors dynamically.
► Run time errors: Errors that come due to misuse of the command inside the HTML language.
► Logical Errors: These are the errors that occur due to the bad logic performed on a function which is having different operation.
Previous Question | Next Question |
What is JavaScript, what about history? | What value does prompt() return if the user clicked the Cancel button? |