日期:2014-05-16 浏览次数:20414 次
var check123 = function(){ var t1 = "1"; var t2 = 1; alert(t1==t2); alert(t1===t2); }; check123();
var check123 = function(){ var t1 = true; var t2 = 1; alert(t1==t2); alert(t1===t2); }; check123();