Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. The URL property belongs to which of the following object?

  2. A.

     Document

    B.

     Element

    C.

     Location

    D.

     All of the mentioned

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    The Document object has a URL property, which is a static string that holds the URL of the document when it was first loaded.


Be The First To Comment