关于数组vara=[1,2,3,"student",true];a[3]是("student")a[6]是()。A、报错B、0C、undefinedD、null
关于数组vara=[1,2,3,"student",true];a[3]是("student")a[6]是()。
- A、报错
- B、0
- C、undefined
- D、null
相关考题:
Javascript中,以下那两个变量的值不是==:() A、vara=0,b=-0B、vara=NaN,b=NaNC、vara=null,b=undefinedD、vara=[],b=false
以下两个变量a和b,a+b的哪个结果是NaN?() A、vara=undefind;b=NaNB、vara=‘123’;b=NaNC、vara=undefined,b=NaND、vara=NaN,b=undefined
在以下选项中,能IE确声明数组并进行初始化的语句是( )。A.str=new Dimension(1,2,3);B.str=new dimension(1,2,3);C.str:new Array(1,2,3);D.str=new array(1,2,3);
由如下程序: Type Student Num As Integer Name As String * 13 End Type Dim stu(30)As Student 该程序段定义了两个程序成分,它们分别是 ______。A.记录类型和记录数组B.记录类型和记录变量C.显示类型和记录数组D.记录变量和记录数组
下面定义的一维数组并赋值正确的是()。A、inta[2]={1,2,3};B、inta[3]={1,2,3};C、floata[3]={‘1’,’2’,’3’};D、floata[3]={’1’,’a’,1.1};
vara=[“a”,“b”,“c”];varb=[“d”,“e”,“f”];有a,b两个数组,下面哪个选项可以把a,b合成一个新的数组()。A、全不正确B、varc=a.push()+b.push()C、varc=a.concat(b)D、varc=a.join(b)
将有三个boolean值的数组初始化为true的是()A、boolean[]b=newboolean[3]B、"boolean[]b={true,true,true}"C、"boolean[3]b={true,true,true}"D、"boolean[]b=newboolean[3];b={true,true,true}"
单选题下面定义的一维数组并赋值正确的是()。Ainta[2]={1,2,3};Binta[3]={1,2,3};Cfloata[3]={‘1’,’2’,’3’};Dfloata[3]={’1’,’a’,1.1};
多选题定义字符数组正确的是()。Achars[]=Student;Bchars[7]=Student;Cchars[7]={’S’,’t’,’u’,’d’,’e’,’n’,’t’};Dchars[]={Student};
单选题All of Mark's former students go to college. If the statement above is true, which of the following must also be true?AIf Ethan was not Mark's student, then he is not going to college.BIf Joyelle goes to college, then she was not Mark's student.CIf Ginger goes to college, then she was Mark's student.DIf Stephanie was Mark's student, then she is not going to college.EIf Steve does not go to college, then he was not Mark's student.
判断题表达式{1,3,2}{1,2,3}的值为True。A对B错