window.location.href="www.google.com". The given statement when executed would result in one of the following:

  1. It will give an error

  2. It will execute and nothing will happen

  3. It will execute and www.google.com is going to open

  4. None of The above


Correct Option: C

Find more quizzes: