Why is that wrong?


if ("Jon".length * 2 / (2+1) >= 2) {
console.log("Error Error Error");
} else {

Why is that wrong?

Javascript 19

Why is that wrong?

what's the error message?
what does the instruction want?


it told me that the statement needed to evaluate to "true"


Not entirely sure what you are trying to achieve with this code.
But judging by what you said you are most likely meant to
console.log(true) rather than console.log("console.log").

It is probably asking you to console.log a boolean value rather than a string. If this was the solution please mark my reply as the solution, thanks.


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