Glossary: JavaScript Beyond the Basics
setTimeout
Also written: setTimeout(callback, ms)
A function that runs a callback after a delay in milliseconds. It returns at once, and the callback runs later through the event loop.
Glossary: JavaScript Beyond the Basics
Also written: setTimeout(callback, ms)
A function that runs a callback after a delay in milliseconds. It returns at once, and the callback runs later through the event loop.