hoe to wait in js code example Example: javascript wait 1 second setTimeout(function(){ console.log("Ready") }, 1000);