JS Janji Palsu dengan Timeout

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