javascript - I keep getting unexpected token ) -
i'm doing coding academy, , doing right when annoying little message,
("jon".length * 2 / (2+1) === ) { console.log("the answer makes sense!"); } else { console.log("error! error! error!"); }
there 2 problems in line
("jon".length * 2 / (2+1) === )
first, need sort of conditional @ beginning of line, if
if("jon".length * 2 / (2+1) === )
second, need fill right side of equation after ===
target comparing, number
if("jon".length * 2 / (2+1) === 1)
Comments
Post a Comment