SyntaxFix
Write A Post
Hire A Developer
Questions
The Underscore library also provides a "delay" function:
_.delay(function(msg) { console.log(msg); }, 5000, 'Hello');