R

Ram Sharma • 193.84K Points
Coach

Q. What will be the output of the below code ?

Code:
var i=true;
var j=false;
var k=true;
if( i || J && K){
a=10;
b="True";
}
else {
a=20;
b="False";
}
console.log(a+","+b); 
  • (A) 20,False
  • (B) 20,True
  • (C) 10,False
  • (D) 10,True

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.