标签:ar io sp for on log bs cti nbsp
var obj = {};
obj.a = 12;
obj.funa = function(){
console.log(111);
}
console.log(obj[‘a‘]);
obj[‘funa‘]();
for(var i in obj){
console.log(obj[i]);
}
结果:
14
12
17
function (){
console.log(111);
}
标签:ar io sp for on log bs cti nbsp
原文地址:http://my.oschina.net/u/1992917/blog/357035