top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What are the different types of errors supported by JavaScript?

0 votes
462 views
What are the different types of errors supported by JavaScript?
posted Aug 7, 2014 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

There are three different types of error that can occur with JavaScript.

These are:

Loading Errors where an error results in your JavaScript being unable to load into the browser in the first place.

Runtime Errors where the JavaScript loads and starts to run and then crashes when it reaches a statement that it is unable to process.

Logic Errors where the script runs but doesn't do what it is supposed to do.

answer Aug 8, 2014 by Manish Tiwari
...