JS Fake Promy with Timeout

await new Promise((resolve) => setTimeout(resolve, 1000)
florinrelea