Why is this wrong?


#1

if ("Jon".length * 2 / (2+1) === 23 )
{
console.log("The answer makes sense!");
}
else
{
if (console.log ("The condition is false")
}

Why is this wrong?


19. I'm not seeing where im going wrong
#2

"Jon".length     // 3

which we can now evaluate:

3 * 2 / (2+1) => 6 / 3 => 2

So now the error in your code should jump right out.