Sail E0 Webinar
Question
What does the pushState() method do?
Options:
A .  Removes the state
B .  Adds new state
C .  Replaces the state
D .  None of the mentioned
Answer: Option B


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



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

More Questions on This Topic :

Latest Videos

Latest Test Papers