首页 > 代码库 > 关于对象

关于对象

 

111

 

var a= function (){var bb = 12; this.aa ="xxx"}; 	 a.aa="www";  	 a.prototype.cc="eee";	 var b = new a; 	 for (var i in b){	 	console.log(b[i]);	 }
 console.log (b)

  

xxx %20test.html:13
eee %20test.html:13
a {aa: "xxx", cc: "eee"}