whats wrong with my code?


#1

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


#2

Remove the semi-colon from this line so it stays bound to the code blocks that follow, otherwise the statement ends right here.


#3

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