+ 1

How do I make my program wait?

28th Dec 2017, 1:43 PM
Clarke
Clarke  - avatar
2 Answers
+ 2
setTimeout(f, time) calls function f after 'time' milliseconds. There also can be a code instead of a function.
28th Dec 2017, 1:47 PM
Petr Leliaev
Petr Leliaev - avatar
+ 1
Thanks😊
28th Dec 2017, 2:27 PM
Clarke
Clarke  - avatar