Skip to content

Session 2

Monica Kay edited this page Dec 3, 2021 · 2 revisions
  • check multiple conditions
  • use logical operators: && and ||
  • evaluate expressions
  • iterate over collections of data using for loops
  • use bracket notation to access the value at a specified index position of an array
  • embed variable values into a string using string interpolation
  • discuss how string interpolation and concatenation differ
  • construct object representations of real-life things
  • define object properties and assign values to them
  • use dot notation to access the values of properties on an object
  • use dot notation to add a new property to an object and assign value to it
  • discuss key value pairs
  • use dot notation and a for loop to iterate through an array stored within an object
  • introduce return keyword
  • capture the return value in a variable
  • define multiple function parameters
  • invoke a function multiple times, passing in different arguments

Clone this wiki locally