下列代码[br][/br] 1 2 3 4 5 6 7 var person={fname:"John",lname:"Doe",age:25}; var txt=""; for (x in person) { txt=txt + person[x]; } alert(txt); 输出为? A: JohnDoe25 B: fname:"John",lname:"Doe",age:25 C: fname:John,lname:Doe,age:25 D: fnamelnameage
下列代码[br][/br] 1 2 3 4 5 6 7 var person={fname:"John",lname:"Doe",age:25}; var txt=""; for (x in person) { txt=txt + person[x]; } alert(txt); 输出为? A: JohnDoe25 B: fname:"John",lname:"Doe",age:25 C: fname:John,lname:Doe,age:25 D: fnamelnameage
1