A

Admin • 828.03K Points
Coach

Q. What does the pushState() method do?

  • (A) Removes the state
  • (B) Adds new state
  • (C) Replaces the state
  • (D) None of the mentioned
  • Correct Answer - Option(B)
  • Views: 4
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin
When a web app enters a new state, it calls history.pushState() to add that state to the browsing history.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.