I want to do this
statement1;
// rest for 0.5 seconds
statement2;
How can I make my JavaScript wait 0.5 seconds?
I tried
statement1;
window.setTimer(500);
statement2;
But that was not it. Thanks
I want to do this
statement1;
// rest for 0.5 seconds
statement2;
How can I make my JavaScript wait 0.5 seconds?
I tried
statement1;
window.setTimer(500);
statement2;
But that was not it. Thanks