timeout 4e3 in js code example Example: timeout javascript setTimeout(function(){ //code goes here }, 2000); //Time before execution