Question: When would the final statement in the code shown be logged to the console? When would 'results shown' be logged to the console?

  1. after 10 second
  2. after results are received from the HTTP request
  3. after 10000 seconds
  4. immediately

Answer: The correct answer of the above question is Option D:immediately