Question: What should the console read when the following code is run?

  1. Horse
  2. Cat
  3. Mouse
  4. undefined

Answer: The correct answer of the above question is Option B:Cat