Back
Syntax
Study
Editor
Mode:
HTML
CSS
JavaScript
PHP
Reset
Run »
HTML / CSS / JS
// Navigation window.location.href = "https://example.com"; window.history.back(); // Dimensions console.log(window.innerWidth, window.innerHeight); // Timers const timer = window.setTimeout(() => console.log("3 seconds"), 3000); window.clearTimeout(timer);
Result
Open