javaScript 中== 跟===有什么区别?
[*][10] === 10 // is false
[*][10] == 10 // is true
[*]'10' == 10 // is true
[*]'10' === 10 // is false
[*] [] == 0 // is true
[*] [] === 0 // is false
[*] '' == false // is true but true == "a" is false
[*] '' === false // is false
上面的操作 相信大家 一看就明白了喽
页:
[1]