摘要:
for in 循环会返回 原型 以及原型链上面的属性,不会打印系统自带的属性 var obj ={ name:'suan', sex :'male', age:150, height:185, characeter:true } for(var key in obj){ // console.log 阅读全文
摘要:
var jack = { somke : function (){ console.log('I was in the somkeing...cool..'); return this; }, drink : function(){ console.log('I want cocaCola'); r 阅读全文