You can just use setTimeout()
directly, like this:
setTimeout(function() {
window.location.href = "https://stackoverflow.com/NewPage.aspx";
}, 2000);
You can just use setTimeout()
directly, like this:
setTimeout(function() {
window.location.href = "https://stackoverflow.com/NewPage.aspx";
}, 2000);