Tsallaka zuwa abun ciki
Justice Tech School

JavaScript Statements

A program is a list of statements. Each statement does one thing and usually ends with a semicolon. Statements run top to bottom in the order written.

Example
let a = 5;
let b = 6;
let c = a + b;
console.log(c);

Exercise

Name the keyword that declares a changeable variable.

 x = 1;

Quiz Test

In which order do statements run?

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.