Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. What is the return type of the hash property?

  2. A.

     Query string

    B.

     Packets

    C.

     String

    D.

     Fragment identifier

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    The hash property returns the “fragment identifier” portion of the URL, if there is one: a hash mark (#) followed by an element ID.


Be The First To Comment