Skip to main content
Code Line Daily
Home
Archive
Evergreen
About
A line of code of the day.
Adds a state to the browsers history.
window.history.pushState({ state: 1 }, 'My state', '#myHash')
#JavaScript
2019-10-16
By:
Silvestar
Copy
Copy command
Share:
Twitter
Facebook
Reddit
<= Previous
Next =>
Code Line Daily
Twitter
Facebook
GitHub
RSS
Powered by
Starter Project
.