@前端开发工程师 在js中,const result = new Promise((res, rej) => {
console.log(1)
res(2)
})
result.then((data) => {
console.log(data)
})
console.log(3)的运行结果是什么,以及为什么
展开
3