答案查看网,轻松搜题/搜资源
登录
×
登录账号
记住密码
立即注册
忘记密码
×
注册
使用微信扫描二维码,获取账号密码后免费查看答案
前往登录
忘记密码
×
忘记密码
使用微信扫描下方二维码,即可找回您的账号密码
前往登录
立即注册
搜题/搜资源
【单选题】【消耗次数:1】
分析下面的JavaScript代码段,输出的结果是()。emp=new Array(5);emp[1]=1;emp[2]=2;document.write(emp.length);(选择一项)
①
2
②
3
③
4
④
5
参考答案:
复制
纠错
相关题目
【单选题】
分析下面的JavaScript代码段,输出的结果是()。 emp=new Array(5); emp[1]=1; emp[2]=2; document.write(emp.length);
①
2
②
3
③
4
④
5
查看完整题目与答案
【单选题】
分析下面的JavaScript代码段,输出结果是()。var mystring=I am a studenta=mystring.charAt(9);document.write(a);(选择一项)
①
I am a st
②
u
③
udent
④
t
查看完整题目与答案
【单选题】
分析下面的JavaScript代码段,输出结果是()。 var mystring=I am a student; a=mystring.charAt(9); document.write(a);
①
I am a st
②
u
③
udent
④
t
查看完整题目与答案
【单选题】
假设今天是2006年4月1日星期六,请问以下javascript代码输出结果是:( )var time = new Date( );document.write(time.getDate( ));(选择一项)
①
2006
②
4
③
1
④
6
查看完整题目与答案
【单选题】
假设今天是2006年4月1日星期六,请问以下javascript代码输出结果是:( ) var time = new Date( ); document.write(time.getDate( ));
①
2006
②
4
③
1
④
6
查看完整题目与答案
【单选题】
有如下JavaScript代码: .... script language=JavaScript var x = true; document.write(x); /script .....页面运行后,输出( )。(选择一项)
①
1
②
0
③
true
④
真
查看完整题目与答案
【单选题】
在javaScript中,运行下列代码后的结果是 var d=1document.write(typcof(d));(选择一项)
①
char
②
number
③
string
④
undefined
查看完整题目与答案
【单选题】
在javaScript中,运行下列代码后的结果是 var d=1; document.write(typcof(d));
①
char
②
number
③
string
④
undefined
查看完整题目与答案
【单选题】
在JavaScript中,运行下面代码后的返回值是( )。var flag = true;document.write(typeof(flag));(选择一项)
①
undefined
②
null
③
number
④
boolean
查看完整题目与答案
【单选题】
以下程序的运行结果是( )。 void fun(int array[3][3]) { int j; for(j=0;jj++) array[1][j]=array[1][j]++; printf(\n} void main(){ int j,a[3][3]={0,1,2,1,0,4,2,4,5};fun(a);for(j=0;jj++)printf(%d,a[1][j]); printf(\n }
①
1 0 4
②
2 1 5
③
0 1 2
④
1 2 3
查看完整题目与答案
随机题目
【单选题】
Tom is one of the people who ______ they are now.
①
from
②
like
③
with
④
as
查看完整题目与答案
【单选题】
I’ll never forget the days ______ we spent together in the country.
①
which
②
on which
③
when
④
on that
查看完整题目与答案
【单选题】
The book ______ you want is on the desk.Which of the following isn’t right?
①
that
②
which
③
/
④
it
查看完整题目与答案
【单选题】
It is in 1960 ______ Chinese first put out flag on Mount Qomolangma.
①
when
②
that
③
which
④
in which
查看完整题目与答案
【单选题】
I have the same pen ______.
①
which you have
②
as yours
③
that you are
④
as you
查看完整题目与答案
【单选题】
The first school ______ we visited yesterday is not far from here.
①
that
②
which
③
to which
④
where
查看完整题目与答案
【单选题】
Drive straight ahead, and then you will see a_______to the Shanghai-Nanjing Expressway.
①
sign
②
mark
③
signal
④
board
查看完整题目与答案
【单选题】
It’s a mistake to think of Florida only __ its tourist attractions.
①
by means of
②
in terms of
③
in connection with
④
by way of
查看完整题目与答案
【单选题】
The teacher said ______ wanted to go to the cinema must be there before 6:00.
①
those who
②
that
③
who
④
which
查看完整题目与答案
【单选题】
The number of people who ______ cars of their own is increasing.
①
has
②
have
③
there is
④
there are
查看完整题目与答案