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

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

Questions No: 2/5

What is the output?

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

Questions No: 3/5

What is the output of the following code?

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

Questions No: 4/5

What will be the output?

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

Questions No: 5/5

How to write an IF statement in JavaScript?