JavaScript Statements

In HTML, JavaScript statements are executed by the browser.

JavaScript Statements

A JavaScript program is a list of statements to be executed by a computer.

let x,y,z defines the vars using x=5; and y=6; and z= x + y; note the ; finishes a statement in the code.


Multiple statements such as a=5; b=6; as shown on one line are allowed in the code.