SyntaxFix
Write A Post
Hire A Developer
Questions
You do not need to use an anonymous function with setTimeout. You can do something like this:
setTimeout
setTimeout(doSomething, 3000); function doSomething() { //do whatever you want here }