JSFiddle - React, Tailwind, and code Playground
by Robodude
JavaScript
async function go(){
await new Promise(r => setTimeout(r, 10000))
return 123
}
const p1 = go()
console.log(JSON.stringify(p1))
by Robodude
async function go(){
await new Promise(r => setTimeout(r, 10000))
return 123
}
const p1 = go()
console.log(JSON.stringify(p1))