Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. To which object does the location property belong?

  2. A.

     Window

    B.

     Position

    C.

     Element

    D.

     Location

    View Answer

    Workspace

    Answer : Option A

    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.


Be The First To Comment