//自动类型转换 if(1=='1'){ alert('==一样') //一样 }
//比较的时候不会类型转换// if(1==='1'){// alert('===一样') //不相等,不会执行// }