选择题1466/1530如何能打印出 console.log 语句后注释掉的值?

1function* startGame() { 2 const answer = yield "Do you love JavaScript?"; 3 if (answer !== "Yes") { 4 return "Oh wow... Guess we're gone here"; 5 } 6 return "JavaScript loves you back ❤️"; 7} 8 9const game = startGame(); 10console.log(/* 1 */); // Do you love JavaScript? 11console.log(/* 2 */); // JavaScript loves you back ❤️
难度:
2021-07-02 创建

本题为单选题”

赞赏支持

预览

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