Skip to main content

Control Flow

Welcome to the JavaScript control flow guide. This section covers how programs make decisions, repeat work, and respond when something goes wrong.

Control flow

Work through these topics in order to learn how JavaScript branches, loops, and handles errors during execution.