认真阅读下面代码,并按要求进行作答。
txt1="What a very";
txt2="nice day";
txt3=txt1+txt2;
根据上述代码,txt3的运算结果是
txt1="What a very";
txt2="nice day";
txt3=txt1+txt2;
根据上述代码,txt3的运算结果是
举一反三
- 认真阅读下面代码,并按要求进行作答。txt1="Whatavery";txt2="niceday";txt3=txt1+txt2;根据上述代码,txt3的运算结果是: A: What a verynice day B: What a very nice day C: What a very D: nice day
- 认真阅读下面代码,并按要求进行作答。txt1="What a very";txt2="nice day";txt3=txt1+txt2;根据上述代码,txt3的运算结果是( ) A: What a very nice day B: What a verynice day C: What a very D: nice day
- 给定下面的HTML代码:[br][/br]测试本文1[br][/br]测试本文2[br][/br]测试本文3[br][/br]怎么能够将"测试文本2"修改为"ok" A: $(".txt")[1].html("ok"); B: $(".txt")[2].html("ok"); C: $(".txt")[1].innerHTML="ok"; D: $(".txt")[2].innerHTML="ok";
- 给定下面的HTML代码:[br][/br]测试本文1[br][/br]测试本文2[br][/br]测试本文3[br][/br]怎么能够将"测试文本2"修改为"ok" A: $(".txt").eq(1).val("ok"); B: $(".txt").eq(2).val("ok"); C: $(".txt").eq(1).text("ok"); D: $(".txt").eq(2).text("ok");
- 实现创建一个 JavaScript 数组的语法是 _________ A: var txt = newArray("tim","kim","jim") B: var txt = newArray(1:"tim",2:"kim",3:"jim") C: var txt = new Array="tim","kim","jim" D: var txt = newArray:1=("tim")2=("kim")3=("jim")