1. Get the URL and redirect
  2. Get the location of the cursor
  3. Get the path to the next page
  4. All of the mentioned
4 views

1 Answers

Answer: Option 1

The window.location object can be used to get the current page address (URL) and to redirect the browser to a new page.

4 views