Skip to content

Glossary: JavaScript in the Browser

finally

A block after `try`/`catch` that runs whether the code in `try` succeeded or threw an error. It is used for cleanup that must always happen, such as re-enabling a button after a request.

Where the book teaches it

Related terms

fetch