Skip to content

Instantly share code, notes, and snippets.

@rogerwschmidt
Last active March 27, 2018 01:00
Show Gist options
  • Save rogerwschmidt/3255515d36f1f25d69b007299c99e93c to your computer and use it in GitHub Desktop.
Save rogerwschmidt/3255515d36f1f25d69b007299c99e93c to your computer and use it in GitHub Desktop.

Conditionals Instructor Notes

Objectives

  • Explain the syntax of a for-loop(classical, for-in, for-of) and a while-loop
  • Describe under which situations each is useful
  • Explain the syntax of an if-else and switch statement
  • Describe under which situations each is useful

What is the syntax for looping?

  • With your table, create a syntax guide for loops (for, for-in, for-of, while).

Describe under which situations each is useful

  • With your table, describe when each type of loop is useful.

Explain the syntax of an if-else and switch statement

  • With your table, create a syntax guide for conditional statements.

Describe under which situations each is useful

  • With your table, describe when each type of conditional is useful.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment