📜  javascript == vs === - Javascript 代码示例

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

代码示例3
== Equal to (1 == 1, 1 == "1") // equal in value ("1" is a string)
=== Equal value and equal type (1 === 1 but, 1 !== "1" // not equal type