Type of Variable

  • its just an object, it will keep track of which number has previously showed up and increment it by 1, if not found in “factors” variable then it creates a new entry with that number with value of 1
  • for which code it returns so?