Predict the output of the following javascript code

console.log(true === false);

 

 

In JavaScript, the === operator is the strict equality operator. It checks whether its operands are equal in both value and type.

In the expression true === false, true is a boolean value representing true, and false is a boolean value representing false. Since they are of different values, the strict equality comparison will evaluate to false.

So, the output of the code will be:

false