ray*_*ray 0 javascript constructor
function Foo() { alert(this === a);//return false! **why this is not equal a?** } var a = new Foo();//create a new object
foo是一个构造函数,为什么'Foo'中的这个与'a'不相等.
jfr*_*d00 6
a当你在构造函数中时,尚未发生对变量的赋值.事件的顺序是:
a
归档时间:
14 年,1 月 前
查看次数:
123 次
最近记录: