有时间研究下这个

var ss = {
aa:"a",
bb:this.a,
cc:function(){
console.log(this.aa);
}
}
ss.cc();//a
console.log(ss.bb);//undefine
//这个为什么,有时间在研究

原文地址:https://www.cnblogs.com/coding4/p/6139564.html