JS Statements
Statements tell the program what to do. Their order matters when one statement uses a value produced by another.
Where to run this
This example uses the JavaScript console playground. Select Run to execute it; the example does not run on this lesson page.
A practical example
let available = 10;
available = available - 3;
console.log(available);
What happens
The final statement prints 7.