Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. How will you update the URL displayed in the location bar?

  2. A.

     location

    B.

     location.URL

    C.

     location.hash

    D.

     url

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    The property location.hash needs to be updated to display the updated URL in the location bar.


Be The First To Comment