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
πŸ’¬ Discuss
βœ… Correct Answer: (A) replaceState()
Explanation: The replaceState() method is used to replace the current history state instead of adding a new state to the browsing history.
Explanation by: Mr. Dubey
The replaceState() method is used to replace the current history state instead of adding a new state to the browsing history.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
135
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
91%
Success Rate