Resolving Unknowns

  • For JavaScript to run a line of code, it needs to resolve unknowns
  • Think about arithmetic. How do you solve 2 * (1 + 2)?
  • Before JS can run a function, it needs to know the arguments
  • Also, when you call a function, JS can use its return value

5 / 21