var block = {
name: '24K纯小黑',
age: 17,
say: function() {
console.log('我是' + this.name + '我才' + this.age)
},
count:function(a, b) {
return a + b;
},
}
for( var key in block){
// console.log(block.count(15, 90));
console.log(block[key]);
}
网友评论