5 1 3 boolean expressions c2 b6

Solutions on MaxInterview for 5 1 3 boolean expressions c2 b6 by the best coders in the world

showing results for - "5 1 3 boolean expressions c2 b6"
Davide
22 May 2018
1/*A boolean expression is an expression that evaluates to either true 
2or false. The equality operator, ==, compares two values and returns 
3true or false depending on whether the values are equal.*/
4
5console.log(5 == 5);
6console.log(5 == 6);
7
8//true
9//false
Noam
01 Jan 2021
1/*We can also use == to see that true and "true" are not equal.*/
2
3console.log(true == "true");
4
5//false