setTimeout(function() {
//whatever you want to execute
}, amountOfSeconds * 1000); //executes after amountOfSeconds seconds
//with defined function
setTimout(functionName, amountOfSeconds * 1000);
//example
setTimeout(function() {
console.log("It has been 3 seconds.");
}, 3000);