Favorites

JavaScript Statements Reference

A JavaScript program is a series of statements, each of which does something: declares a variable, makes a decision, repeats a block of code or handles an error. Declarations, such as let, const, function and class, create names you can use later.

The statements are grouped by what they do. Each page shows the syntax, explains how it behaves and includes an example you can run.

At the time of writing, there are 29 statements and declarations listed here.

☕
Enjoying this site?

Help keep it running with a small coffee donation. Every bit of support is appreciated!

Buy us a coffee
☕
Enjoying this site?

Help keep it running with a small coffee donation. Every bit of support is appreciated!

Buy us a coffee