Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. What is the purpose of the assign() method?

  2. A.

     Only loading

    B.

     Loading of window and display

    C.

     Displays already present window

    D.

     Unloading of window

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    The assign() method of the Location object makes the window load and display the document at the URL you specify.


Be The First To Comment