DOAP - Conditional Statements In Js
Questions No: 1/6

What will be the output?

let x = 0;
if(x)
    console.log("True");
else
    console.log("False");

Questions No: 2/6

Which of the following statement executes when a condition is false?
इनमें से कौन-सा स्टेटमेंट तब एग्जीक्यूट होता है जब कंडीशन गलत (false) होती है?

Questions No: 3/6

How to write an IF statement in JavaScript?

Questions No: 4/6

What is the output of the following code?

console.log(2 == "2");
console.log(2 === "2");

Questions No: 5/6

How to write an IF statement for executing some code if "i" is NOT equal to 5?

Questions No: 6/6

What is the output?

let x=10;
if(x="5")
 console.log("Yes");