复制1var name = '123'; 2 3var obj = { 4 name: '456', 5 print: function() { 6 function a() { 7 console.log(this.name); 8 } 9 a(); 10 } 11} 12 13obj.print();
1var name = '123'; 2 3var obj = { 4 name: '456', 5 print: function() { 6 function a() { 7 console.log(this.name); 8 } 9 a(); 10 } 11} 12 13obj.print();
题库维护不易,您的支持就是我们最大的动力!