Statements
catch clause
Handles a thrown value from the associated try block. Its parameter is scoped to the catch clause; new exceptions propagate outward.
Formal Syntax & Structure
javascript syntaxjavascript
catch (error) { statements }Working Example
Example Snippetjavascript
try { throw 3; } catch(e) { console.log(e); }