javascript one time function example Example: javascript settimeout setTimeout(function(){ alert("Hello"); }, 3000);