JavaScript Programs

computer program is a list of "instructions" to be "executed" by a computer.
In a programming language, these programming instructions are called statements.
JavaScript program is a list of programming statements.
In HTML, JavaScript programs are executed by the web browser.

JavaScript Statements

JavaScript statements are composed of:
Values, Operators, Expressions, Keywords, and Comments.
Most JavaScript programs contain many JavaScript statements.
The statements are executed, one by one, in the same order as they are written.

Semicolons ;

Semicolons separate JavaScript statements.
Add a semicolon at the end of each executable statement.
When separated by semicolons, multiple statements on one line are allowed.