选择题1435/1530依次输出什么?

1const myPromise = () => Promise.resolve('I have resolved!') 2 3function firstFunction() { 4 myPromise().then(res => console.log(res)) 5 console.log('second') 6} 7 8async function secondFunction() { 9 console.log(await myPromise()) 10 console.log('second') 11} 12 13firstFunction() 14secondFunction()
难度:
2021-07-02 创建

本题为单选题”

赞赏支持

预览

题库维护不易,您的支持就是我们最大的动力!