下面的代码:var person = {fname:"Bill", lname:"Gates", age:62}; var text = "";for (var x in person) { text += person[x];}循环结束后,text的值为:( )。
A: Gates
B: BillGates62
C: 62
D: Bill
A: Gates
B: BillGates62
C: 62
D: Bill
举一反三
- 下面的代码:var person = {fname:"Bill", lname:"Gates", age:62}; var text = "";for (var x in person) { text += person[x];}循环结束后,text的值为:( )。 A: Gates B: BillGates62 C: 62 D: Bill
- 下面的代码:var person = {fname:"Bill", lname:"Gates", age:62}; var text = "";for (var x in person) { text += person[x];}循环结束后,text的值为:( )。 A: Gates B: BillGates62 C: 62 D: Bill
- 下面的代码:var person = {fname:"Bill", lname:"Gates", age:62}; var text = "";for (var x in person) { text += person[x];}循环结束后,text的值为:( )。 A: Gates B: BillGates62 C: 62 D: Bill
- 下面的代码: var person = {fname:'Bill', lname:'Gates', age:62}; var text = ''; for (var x in person) { text += person[x]; } 循环结束后,text的值为:( )
- 【单选题】下面的代码: var person = {fname:"Bill", lname:"Gates", age:62}; var text = ""; for (var x in person) { text += person[x]; } 循环结束后,text的值为:() A. BillGates62 B. Bill C. Gates D. 62