Zoom
  • Remember that when a variable that already stores a value is reassigned, the old value is lost.
  • Run through the code to the left to see this!
  • number is created on line two and assigned the value 10. It is the reassigned on line 6.