?
How many parameters does the replaceState() method take?
Answer & Solution
Correct Answer:
Option
B
window.history.replaceState(stateObj, title, url) : This is just like window.history.pushState, except that the current browser state is removed from the history, so you cannot hit “back” to return to it.
Join the Discussion
Login to post a comment or share your explanation.
Login