有时间研究下这个

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

posted @ 2016-12-06 23:21  飘然离去  阅读(69)  评论(0编辑  收藏  举报