- Explain the syntax of a
for-loop
(classical, for-in, for-of) and awhile-loop
- Describe under which situations each is useful
- Explain the syntax of an
if-else
andswitch
statement - Describe under which situations each is useful
- With your table, create a syntax guide for loops (for, for-in, for-of, while).
- With your table, describe when each type of loop is useful.
- With your table, create a syntax guide for conditional statements.
- With your table, describe when each type of conditional is useful.