Which statement can a developer apply to increment the browser’s navigation history without a page refresh?

Which statement can a developer apply to increment the browser’s navigation history without a page refresh?

Which statement can a developer apply to increment the browser’s navigation history without a page refresh?
A . window.history.pushState(newStateObject);
B. window.history.pushStare(newStateObject, ”, null);
C. window.history.replaceState(newStateObject,”, null);
D. window.history.state.push(newStateObject);

Answer: C

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments