setTimeout(myFunction, 1000); // if you have defined a function named myFunction // it will run after 3 seconds (3000 milliseconds)