adplus-dvertising
frame-decoration

Question

How do you add a particular state to the browsing history?

a.

pushState()

b.

replaceState()

c.

state()

d.

none of the mentioned

Posted under JavaScript

Answer: (a).pushState()

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. How do you add a particular state to the browsing history?