下面的代码: 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: 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的值为:( )
- 以下代码片段执行后,text的值为:( )var person = {fname:"Bill", lname:"Gates", age:62};var text = "";for (var x in person) { text += person[x];} A: BillGates62 B: fname:"Bill", lname:"Gates", age:62 C: BillGates D: 62