function show_obj(obj){ var temp,p1Str=""; for(temp in obj){ p1Str=p1Str+temp+":"+obj[temp]+" -- "; } alert(p1Str) }
时间: 2024-10-09 15:35:04
function show_obj(obj){ var temp,p1Str=""; for(temp in obj){ p1Str=p1Str+temp+":"+obj[temp]+" -- "; } alert(p1Str) }