JavaScript Statements

From w3schools.com, Experiment by Teeratus_R

Semicolons

Multiple statements on one line are allowed when separated by semicolons: