test

 1 var a = {
 2         aa : 1,
 3         bb : function(){
 4                 console.log(this.aa);
 5         }
 6 };
 7 
 8 function getName(){
 9       console.log(this.name);    
10 }    

  dsdfdf sdfsdf sdfsdf sdf sdf 

var a = {
    aa : 1,
    bb : function(){
        console.log(this.aa)
    }
}

 

posted @ 2014-05-31 12:55  拔刀  阅读(84)  评论(0)    收藏  举报