var a =10; var foo = { a:20, bar : function(){ var a =30; return this.a; } } console.log((foo.bar=foo.bar)()); 查看完整描述