Question: What is the value of dessert.type after executing this code?

  1. pie
  2. The code will throw an error.
  3. pudding
  4. undefined

Answer: The correct answer of the above question is Option C:pudding