The boolean expresses the truth value. The Boolean represents two possible values: TRUE or FALSE. True can be given a value of 1, and False is given a value of zero.
To specify a boolean literal, use the constants TRUE or FALSE. Both are case-insensitive. It means that TRUE is equal to true and FALSE is equal to false. So it can be written as
true === TRUE and false === FALSE
Example 1: This example display the value of uppercase and lowercase boolean.
Example: This example compare the uppercase and lowercase boolean value.
TRUE and true both are same FALSE and false both are same