KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm trying to write simple code with a setTimeout , but the setTimeout just won't wait the time it's supposed to and the code executes immediately. What am I doing wrong? setTimeout(testfunction(), 2000);
Tags (comma-separated)
Save Edits
Cancel