Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Loops: for-in and while

  • for in - to iterate over a well defined list of values. (characters, range of numbers, shopping list, etc.)
  • while - repeat an action till some condition is met. (or stopped being met)