Level 86 Level 88
Level 87

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

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
stops the execution of JavaScript, and calls (if available) the debugging function
use strict;
Declaring Strict Mode
Returns true if an input element contains valid data.