Exam4Training

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

Exit mobile version