javascript while wait 1 sec code example Example: javascript wait 1 second setTimeout(function(){ console.log("Ready") }, 1000);