Can't find the error in 17!


It drives me crazy as I just can't see the error in my code and yet it says "SyntaxError: Unexpected token =". Whyyyy?

if (10 ==== 10) {
console.log("You got a true!");
else {
console.log("You got a false!");


for something to equal another you either need = or === so you are one too many = :smiley:


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.