我刚开始在 codecademy 上学习 Javascript,不知道这段代码有什么问题。
var feedback = prompt("Rate this game out of 10");
if(feedback > 8) {
console.log("This is just the beginning of my game empire. Stay tuned for more!");
}
else {
console.log("I slaved away at this game and you gave me that score?! The nerve! Just you wait!")
};
它说变量有问题。这可能是一个太简单的问题,但我不知道如何弄清楚。