📜  5.1.3.布尔表达式¶ - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:24.405000             🧑  作者: Mango

代码示例2
/*A boolean expression is an expression that evaluates to either true 
or false. The equality operator, ==, compares two values and returns 
true or false depending on whether the values are equal.*/

console.log(5 == 5);
console.log(5 == 6);

//true
//false