(1) At the end of any statement that starts with var, put a semicolon. This is true for declaring variables and defining functions. See lines 3 and 4.
(2) We just looked at the role of curly brackets in functions and if else statements. Any time we finish a row of code inside the curly brackets, put a semicolon! See lines 9 and 10.
(3) Semicolons must be used when setting up for loops. See line 15.