//题目:分别弹出什么内容?
<!--  
function test(){  
    this.a = 1;  
    alert(this);   //[object Window]
}  
test();  
  
var t = new test();  //[object Object]

alert(a);  //1
//-->

从CSDN看到的,分享一下微笑

txt

posted on 2014-12-11 16:32  星柒天iTanken  阅读(483)  评论(0编辑  收藏  举报