Chapter 19/28 keeps writing an error in the syntax


#1

if ("Jon".length * 2 / (2+1) === 2)
{
console.log("The condition is true!");
}

else {
console.log("Error Error Error");
}


#2

it keeps saying to "make sure my if/else message ends up true. Thanks in advance.


#3

Judging by the error message, we could even try,

console.log(true);

to minimalize the scrutiny.


#4

if ("Jon".length * 2 / (2+1) === 2 )
{
console.log("True");
}
else {
console.log("Error Error Error")
}
//i dont understand what is wrong??? HELP!!plz


#5

We need to log the Boolean primitive, true, not a string.

console.log(true);