exception
-
throw
TEXT1throw new Error('<Error message>')
The program will be terminated
-
try
TEXT12345try{} catch(<error>){ conlose.log(<error>.massage) }//error finally{}//always
-
debugger
TEXT1debugger
Similar to a breakpoint, the program will pause here