Which is the method that removes the current document from the browsing history before loading the new document?

Duyên Trương

New member
Which is the method that removes the current document from the browsing history before loading the new document?
A. modify()
B. assign()
C. replace()
D. remove()
 
Answer: c
Explanation: The replace() removes the current document from the browsing history before loading the new document. The difference between assign method and replace(), is that replace() removes the URL of the current document from the document history, meaning that it is not possible to use the “back” button to navigate back to the original document.
 

Tìm kiếm

Back
Top