Jump to content

Sleep: Difference between revisions

m
→‎{{header|JavaScript}} (in a web browser): Only language name goes in header
(Added solution for Action!)
m (→‎{{header|JavaScript}} (in a web browser): Only language name goes in header)
Line 1,410:
}</lang>
 
=={{header|JavaScript}} (in a web browser)==
===(in a web browser)===
 
Generally, JavaScript in a web browser is event-loop based and (except for alert()) non-blocking. So, the closest thing possible to the task description is to do something once the specified time has passed.
10,333

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.