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
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

被折叠的 条评论
为什么被折叠?