Please enable JavaScript to use CodeHS

CodeHS Glossary


finally block General

An optional block after a try statement and its catch blocks. Its code always runs, whether the try block finished normally or an exception was thrown, and is often used for cleanup.