【单选题】【消耗次数:1】
在javaScript中,运行下列代码后的结果是 var d=1document.write(typcof(d));(选择一项)
char
number
string
undefined
参考答案:
复制
纠错
➡️如需代学继续教育,联系微信:yizhituziang

相关题目
【单选题】 在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
随机题目
【单选题】 5.____the front door____, he had to enter the room through the back door.
①  Seen, painted
②  Seeing, painted
③  Being seen, being painted
④  Seeing, being painted
【单选题】 16. As I will be away for at least a year, I’d appreciate____ from you now and then so that I can know how everyone is getting along.
①  having heard
②  to hear
③  hearing
④  beingheard
【单选题】 7.He looked around and caught a man____his hand into the pocket of a passenger.
①  put
②  to be put
③  to put
④  putting
【单选题】 14.The thief fell to the ground,his left foot ____and blood ____down from his mouth.
①  breaking; running
②  broken; running
③  breaking; run
④  broken; run
【单选题】 18.- Did you get a dictionary?- No, I _____, but there were not any _____.
①  tried; to be left
②  had tried to; leaving
③  tried to; left
④  had tried; have left
【单选题】 4.____the diamond, he had to look for a place to hide it.
①  Having stolen
②  Having been stolen
③  Stolen
④  Stealing
【单选题】 12.You can’t imagine what great trouble they have ____the problem____.
①  to solve; being talked about
②  solving; discussing
③  to solve; to talk about
④  solving; being discussed
【单选题】 6.And there, almost____in the big chair, sat her little brother, who never had to be told to keep quiet.
①  having lost
②  losing
③  to be lost
④  lost
【单选题】 17.____, the subject was always in my mind.
①  Walking or sleeping
②  Walking or slept
③  Having walked or slept
④  To walk and sleep
【单选题】 20. The joke told by Tom made us_____, so our maths teacher couldn’t make himself _____.
①  to laugh; hearing
②  laughing, heard
③  laughing; hear
④  laughed; heard