+ 4
var x=0; var y=8; if(false ) console .log(x); else console .log(y); //8
3 Answers
+ 4
Rewa Mathur when the condition if becomes true and when it becomes false
+ 4
Rewa Mathur
var x=0;
var y=0;
if(true )
console .log("true");
else console .log("false");
//true
the if(x&&y) is false but still executing the if part ??
+ 3
Raj Chhatrala explanation please