请问哪里错了?运行结果怎么总是否定语句console.log("Suddenly,Bieber stops and says,'Who wants to race me?'")var userAnswer = promptprompt("Do you want to race Bieber on stage?")if (userAnswer === "yes"){console.log("You and Bieber sta

来源:学生作业帮助网 编辑:作业帮 时间:2024/08/24 12:10:35
请问哪里错了?运行结果怎么总是否定语句console.log(
xT=o@+o'R L(_uԁu<'ت{g|"+ԩ0TPHP*$${/n{~{㯋7ӳO'ǝɯه/fG7|e˙݊x<zEiQH}<@XIE}p&H R8ש># M21Ti-~K|Wm),vL5!}qTVZT8Q㮪eIOwor!0)%1Q|QD!oyhwDhÇ!?"4R`JyHMv`}* CIS}*UXU t CP| KctjLFF|70m MU ,߻FS_ZƖzGޮщz3&>>__ɅtqZͳ4mO-MpVIr$ U)hYcC .Ag2A\FAj\xhjEVL$Y5hMcr;wX,ffVcn 5NOʡo*sm`]vmπ'LkጪkCĄ D

请问哪里错了?运行结果怎么总是否定语句console.log("Suddenly,Bieber stops and says,'Who wants to race me?'")var userAnswer = promptprompt("Do you want to race Bieber on stage?")if (userAnswer === "yes"){console.log("You and Bieber sta
请问哪里错了?运行结果怎么总是否定语句
console.log("Suddenly,Bieber stops and says,'Who wants to race me?'")
var userAnswer = prompt
prompt("Do you want to race Bieber on stage?")
if (userAnswer === "yes")
{
console.log("You and Bieber start racing.It's neck and neck!You win by a shoelace!")
}
else
{
console.log("Oh no!Bieber shakes his head and sings 'I set a pace,so I can race without pacing.'")
}

请问哪里错了?运行结果怎么总是否定语句console.log("Suddenly,Bieber stops and says,'Who wants to race me?'")var userAnswer = promptprompt("Do you want to race Bieber on stage?")if (userAnswer === "yes"){console.log("You and Bieber sta
console.log("Suddenly, Bieber stops and says, 'Who wants to race me?'")
// prompt写了两次
var userAnswer = prompt("Do you want to race Bieber on stage?")
if (userAnswer === "yes")
{
    console.log("You and Bieber start racing. It's neck and neck! You win by a shoelace!")
}
else
{
    console.log("Oh no! Bieber shakes his head and sings 'I set a pace, so I can race without pacing.'")
}