Examveda
Examveda

Which of the following method is used to replace the current history state instead of adding a new state to the browsing history?

A. replaceState()

B. replace(state)

C. replace()

D. none of the mentioned

Answer: Option A

Solution(By Examveda Team)

The replaceState() method is used to replace the current history state instead of adding a new state to the browsing history.

Join The Discussion

Related Questions on Sockets