1.

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» Right answer is (c) replace()

Best 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.


Discussion

No Comment Found

Related InterviewSolutions