+ 1
How do you delay a prompt message in JS?
If i want to wait 10 seconds before a prompt appears how would I do that?
3 Answers
+ 4
Use setTimeout function
+ 2
https://www.google.com/url?sa=t&source=web&rct=j&url=https://stackoverflow.com/questions/16873323/javascript-sleep-wait-before-continuing&ved=2ahUKEwjB867k-47qAhUy5uAKHSP4BWAQFjAAegQIBRAB&usg=AOvVaw0ublGbLQaRUlVS8PNLWbv2