1919 Math Unexpected Token?


#1

("Jon".length * 2 / (2+1) ===2)
if
{
console.log("This answer makes sense!");
}
else
{
console.log("Error Error Error");
}

Not entirely sure what i am doing wrong, could be that i deleted original code, as per the warning, but im not sure.

Any suggestions?


#2

Hi your if condition should be after the if like that

if  ("Jon".length * 2 / (2+1) ===2)

#3

ahh thank you so much!!!! Fail lol XD