A

Admin • 802.91K Points
Coach

Q. 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
  • Correct Answer - Option(A)
  • Views: 1
  • Filed under category JavaScript
  • Hashtags:

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

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.