Input: await sleep(100); console.log("Ready"); Output: Ready is logged after at least 100 ms.
Implement a Promise-based delay that lets an asynchronous task resume after the requested duration.