In JavaScript, Location object is a property of ______.
2019
In JavaScript, Location object is a property of ______.
- A.
Form object
- B.
Window object
- C.
Document object
- D.
Location
Attempted by 173 students.
Show answer & explanation
Correct answer: B
In JavaScript, the location object is a property of the window object and is used to get or change the current URL.
A video solution is available for this question — log in and enroll to watch it.