How do you add a particular state to the browsing history?
A
pushState()
B
replaceState()
C
state()
D
addstate()
Correct Answer: pushState()
The pushState() method adds a particular state to the browsing history. It pushes the given data onto the session history stack with the specified title and, if provided, URL.