JavaScript – Conditional Statements and Loops

Conditional Statements

if

if – else

else – if

switch allows string values

 

Loops

for

while

do while

do

{

} while (condition)

Break and Continue