JavascriptUtil We know settimeout that helps to run instruction until the end of time We also know setinterval that helps to repeat instructions in some frequency I try to create a sleep function in javascript