Vidyalelo
JavaScript · Q15

Sockets

Programming · JavaScript · question 15

Q15

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

A.
pushState()
Answer
B.
replaceState()
C.
state()
D.
none of the mentioned

Answer: Option A

Solution

Answer: Option A
Solution:
The pushState() method adds a particular state to the browsing history.