Skip to content

Glossary: JavaScript Basics

catch

Also written: try/catch, try...catch

The part of `try { ... } catch (error) { ... }` that runs if something in the `try` block throws, letting the program carry on instead of stopping.

Where the book teaches it

Related terms

throwfinally