【单选题】【消耗次数:1】
在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
【单选题】 有如下JavaScript代码: .... script language=JavaScript var x = true; document.write(x); /script .....页面运行后,输出( )。(选择一项)
①  1
②  0
③  true
④ 
【单选题】 分析下面的JavaScript代码段,输出结果是()。var mystring=I am a studenta=mystring.charAt(9);document.write(a);(选择一项)
①  I am a st
②  u
③  udent
④  t
【单选题】 在JavaScript中,运行下面代码后的返回值是( )。 var flag = true; document.write(typeof(flag));
①  undefined
②  null
③  number
④  boolean
【单选题】 假设今天是2006年4月1日星期六,请问以下javascript代码输出结果是:( )var time = new Date( );document.write(time.getDate( ));(选择一项)
①  2006
②  4
③  1
④  6
【单选题】 分析下面的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 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
【单选题】 分析下面的JavaScript代码段,输出的结果是()。 emp=new Array(5); emp[1]=1; emp[2]=2; document.write(emp.length);
①  2
②  3
③  4
④  5
随机题目
【单选题】 The world is trying every means to _____the friendship between the two countries.
①  raise
②  promote
③  arise
④  protest
【单选题】 One rainy night the policeman had a chance _____ with a gang of smugglers.
①  acquaintance
②  encounter
③  account
④  interview
【单选题】 Let’s make it round 9 o’clock.____________
①  No. I think so.
②  I am proud of you!
③  It’s impossible.
④  Would some time later be convenient?
【单选题】 After driving for thirty miles, she suddenly realized that she ()in the wrong direction.
①  was driving
②  has been driving
③  had been driving
④  drove
【单选题】 I am not sure whether I can gain any profit from the investment, so I can’t make a(n) ____ tohelp you.
①  exact
②  defined
③  definite
④  sure
【单选题】 It was a(n) _______ achievement ― no one has ever won the championship five times before.
①  single
②  unique
③  only
④  sole
【单选题】 There are many children()behaviour is generally unacceptable.
①  who
②  whom
③  whose
④  that
【单选题】 Happy New Year to you. ____________
①  The same to you.
②  Yes, I am happy.
③  What about you.
④  Very well, thanks.
【单选题】 She was so _____ in her job that she didn’t hear someone knocking at the door.
①  attracted
②  drawn
③  absorbed
④  concentrated
【单选题】 A good public speaker can _______ the audience (听众)at the very beginning.
①  convey
②  portray
③  exaggerate
④  hook