if without braces gives only runtime error
gives no error in Eclipse just runtime error
if(true) alert(“true”);works
Submitted by Terje Pedersen on 3 May 2011 at 09:43
if(true) { alert(“true”); }
gives no error in Eclipse just runtime error
if(true) alert(“true”);works
Submitted by Terje Pedersen on 3 May 2011 at 09:43
if(true) { alert(“true”); }