Level 87 Level 89
Level 88

[No Typing] Throw & Try to Catch


6 words 0 ignored

Ready to learn       Ready to review

Ignore words

Check the boxes below to ignore/unignore words, then click save at the bottom. Ignored words will never appear in any learning session.

All None

Ignore?
try { code } catch(error) { code }
allows you to define a block of code to be tested for errors while it is being executed
try {if (condition) throw code;}
try, throw
try {code} catch(error) {code} finally {code}
try, catch, finally
debugger;
stops the execution of JavaScript, and calls (if available) the debugging function
use strict;
Declaring Strict Mode
objectName.checkValidity();
Returns true if an input element contains valid data.