Example 1 — Quick demo
Core History.
JavaScript
console.log(typeof history);
console.log(typeof history.pushState);
console.log("history.pushState({}, '', '/page')");How It Works
- history. Window session history.
- pushState. Change URL without reload.
