Salesforce Certified JavaScript Developer (JS-Dev-101) JavaScript-Developer-I Question # 16 Topic 2 Discussion

Salesforce Certified JavaScript Developer (JS-Dev-101) JavaScript-Developer-I Question # 16 Topic 2 Discussion

JavaScript-Developer-I Exam Topic 2 Question 16 Discussion:
Question #: 16
Topic #: 2

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);


Get Premium JavaScript-Developer-I Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.