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

Popular posts from this blog

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -