Q. To which object does the location property belong?

  • (A) Window
  • (B) Position
  • (C) Element
  • (D) Location
πŸ’¬ Discuss
βœ… Correct Answer: (A) Window
Explanation: The location property of the Window object refers to a Location object, which represents the current URL of the document displayed in the window, and which also defines methods for making the window load a new document.
Explanation by: Mr. Dubey
The location property of the Window object refers to a Location object, which represents the current URL of the document displayed in the window, and which also defines methods for making the window load a new document.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
181
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
90%
Success Rate