Examveda
Examveda

What is the purpose of the assign() method?

A. Only loading

B. Loading of window and display

C. Displays already present window

D. Unloading of window

Answer: Option B

Solution(By Examveda Team)

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

Join The Discussion

Related Questions on Document Object Model and Event Handling