//obj是一个js对象。
for(var s in obj){
alert(obj[s]);
}
遍历js一个对象的所有属性和方法
最新推荐文章于 2022-08-29 14:23:08 发布
//obj是一个js对象。
for(var s in obj){
alert(obj[s]);
}