write a JS program that prints two messages with a delay of 1 second and 2 seconds sequentially using async-await. which conatins 4
async functions: timeout, resolveAfter1Second, resolveAfter2Second and sequentialStart.
timeout takes 1 argument- a number which denotes how much time the function will wait in ms…
Top comments (0)