async function g () { return await Promise.resolve('hhh') } const p = g() console.log(p) // pending setTimeout(() => console.log(p)) // fulfilled