Math section 19


#1


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


#2

if ("Jon".length * 2 / (2+1) === ??? /*here should be a number*/ ) {
    console.log("The answer makes sense!");
} else {
    console.log("Error Error Error"); // missed ;
}

#3

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