What property would you use to redirect a visitor to another page?

  1. document.URL

  2. window.location.href

  3. document.location.href

  4. link.href


Correct Option: B

Find more quizzes: