w3schools – JavaScript Switch Statements
break;
exercises 1-4

w3schools – Javascript for loop
Kinds of loops

  • for- loops through a block of code
  • for/in – loops through properties of an object
  • while – loops through a block of code while true
  • do/while – also loops while true

for:
for (statement 1; statement 2; statement3){
code block to be executed
}

for/in loop
exercises 1-6

9,986:44 Left / 13:16 Done

Advertisements