选择题1407/1530输出什么?

1const myPromise = Promise.resolve("Woah some cool data"); 2 3(async () => { 4 try { 5 console.log(await myPromise); 6 } catch { 7 throw new Error(`Oops didn't work`); 8 } finally { 9 console.log("Oh finally!"); 10 } 11})();
难度:
2021-07-02 创建

本题为单选题”

赞赏支持

预览

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