1302 Views
Learn about how to handle exception in Javascript. Exception handling is the way that we can prevent abnormal program termination on runtime due to some Exception. For example In the above case, instead of termination of the program, we can handle it by try...catch block. Any error inside try block doesn't cause program termination.
0 comments