【判断题】
(专基_Js)数组转字符串的方法是splice()
A. 对
B. 错
查看试卷,进入试卷练习
微信扫一扫,开始刷题
答案
B
解析
暂无解析
相关试题
【判断题】
(专基_Js)数组不能用+进行拼接多个数组
A. 对
B. 错
【判断题】
(专基_Js)slice()方法的第二个参数在执行时是包括的
A. 对
B. 错
【判断题】
(专基_Js)数组和字符串之间是不可相互转换的
A. 对
B. 错
【判断题】
(专基_Js)var arr = [1,2,3,4];console.log( arr.push(5,6) )打印结果是[1,2,3,4,5,6]
A. 对
B. 错
【判断题】
以上脚本会正常弹出警告对话框提示hello world
A. 对
B. 错
【判断题】
(专基_Js)函数是指由事件驱动或可重复调用执行的代码块
A. 对
B. 错
【判断题】
(专基_Js)形参是局部变量,当函数执行结束自动销毁
A. 对
B. 错
【判断题】
}以上脚本会正常弹出警告对话框提示hello
A. 对
B. 错
【判断题】
(专基_Js) return用于在function中返回值
A. 对
B. 错
【判断题】
(专基_Js)如果函数形参没有接收到传递的实参,该形参默认保存null
A. 对
B. 错
【判断题】
(网站)var myFun=function(){};console.log(typeof(myFun))的打印结果是object
A. 对
B. 错
【判断题】
(专基_Js) 将一个数组的length属性设为0时,意味着这个数组被清空
A. 对
B. 错
【判断题】
(网站)var arr = [];for(var i=0;i<3;i++){arr[i]=[]}以上代码说明arr是一个二维数组
A. 对
B. 错
【判断题】
(专基_Js)如果没有return语句,则函数调用仅仅依次执行函数体内的每一条语句直到函数结束,这种情况下,调用函数返回的结果是undefined
A. 对
B. 错
【判断题】
(专基_Js)使用getHours()方法获取月份时,返回值的取值范围为[1,24]
A. 对
B. 错
【判断题】
(专基_Js)new Date( 2018 , 0 , 0 )实际设置的是2017年12月31日
A. 对
B. 错
【判断题】
(专基_Js) new Date(2017,11,0).getDate()可以获取2017年11月的总天数
A. 对
B. 错
【判断题】
(专基_Js) new Date();括号内不能设置参数
A. 对
B. 错
【判断题】
(专基_Js)new Date( 2018 , 6 , 0 ).getDate()是指获取2018年6月一共有多少天
A. 对
B. 错
【判断题】
(网站)正则表达式中的?用来匹配前面的字符0次或多次
A. 对
B. 错
【判断题】
(专基_Js)()在正则表达式中是分组的作用
A. 对
B. 错
【判断题】
/^a|zood$/对这个正则的`正确理解是当前面是a后面不管是什么都好使或当后面是zood前面不管是什么都好使
A. 对
B. 错
【判断题】
(专基_Js)?表示 匹配0到1次
A. 对
B. 错
【判断题】
(专基_Js)replace第一个参数只能是正则表达式
A. 对
B. 错
【判断题】
(专基_Js)test()方法用于检测正则表达式与目标字符串是否匹配,返回值是布尔值
A. 对
B. 错
【判断题】
(专基_Js)正则表达式中返回匹配字符串的下标方法的是search()
A. 对
B. 错
【判断题】
(专基_Js)replace()方法是将字符串转数组
A. 对
B. 错
【判断题】
console.log(/^(a|z)ood$/.test("azood"))打印结果是true
A. 对
B. 错
【判断题】
(专基_Js)设置元素样式时,样式名需要使用驼峰写法进行设置,比如background-color ,需写成backgroundColor
A. 对
B. 错
【判断题】
(专基js)btnObj.onclick()只是简单的调用了btnObj的onclick所指向的方法,只是调用方法而已,并未触发事件
A. 对
B. 错
【判断题】
(专基js)btn.onclick = sayHi();这个语句实现的是当点击btn时,调用sayHi这个函数
A. 对
B. 错
【判断题】
(专基_Js)获取的文本框的内容是字符串类型
A. 对
B. 错
【判断题】
(专基_Js)innerHTML能将文本或标签写入到某个元素开始标签和结束标签中
A. 对
B. 错
【判断题】
(专基_Js)load事件是卸载事件
A. 对
B. 错
【判断题】
(专基_Js)事件对象兼容的语句为 e||window.event
A. 对
B. 错
【判断题】
(专基_Js)获得焦点的事件是blur
A. 对
B. 错
【判断题】
(专基_Js)违反了HTML与JS代码分离的原则是DOM0级事件处理程序,因此很少使用
A. 对
B. 错
【判断题】
(专基js)相比于HTML事件处理程序,DOM0级事件处理程序使用的比较多
A. 对
B. 错
【判断题】
(专基_Js)局部作用域内的变量只存在函数内,函数之行结束会销毁
A. 对
B. 错
【判断题】
(专基_Js)BOM是指浏览器对象模型
A. 对
B. 错
推荐试题
【单选题】
You had better ___ a doctor as soon as possible.
A. seeing
B. saw
C. see
D. seen
【单选题】
He opened the letter and it contained ___.
A. an important information
B. some important informations
C. many important information
D. some important information
【单选题】
He has been writing for 3 years, but being a writer is not his ___.
A. chance
B. choice
C. change
D. character
【单选题】
They have never heard any ___.
A. a customer complaint
B. the customer's complaints
C. customer's complaint
D. the customers' complaints
【单选题】
He is not a child ___.
A. no more
B. no longer
C. any much
D. any more
【单选题】
The retired man is used to ___ his two dogs early in the morning.
A. exercise
B. exercising
C. exercised
D. exercises
【单选题】
It was not ___ midnight that they discovered the children were not in their bedroom.
A. before
B. at
C. after
D. until
【单选题】
Young ___ he is, he knows how to get along with others.
A. like
B. as
C. although
D. however
【单选题】
Could you show me where the___ shoes are?
A. Women
B. womens
C. woman
D. women's
【单选题】
He succeeded ___ out a lot of things entirely new in the world.
A. in working
B. to work
C. working
D. at working
【单选题】
It took me a long time to ___ the disappointment of failing the exam.
A. get over
B. get up
C. get into
D. get down
【单选题】
She ___ 100 pages of the book today.
A. has already read
B. already reads
C. already read
D. was already read
【单选题】
He has been ___ for nearly three weeks after the death of his dear pet.
A. sad
B. satisfied
C. evil
D. joyful
【单选题】
One cannot learn a foreign language well ___he studies hard.
A. unless
B. if
C. as
D. when
【单选题】
A large number of people___ present at the meeting, which was out of our expectation.
A. was
B. were
C. have
D. has
【单选题】
When the girls saw the funny man, they couldn't ___ laughing.
A. keep from
B. keep on
C. keep away
D. keep at
【单选题】
We are glad that we finally managed to get into contact ___ them.
A. at
B. on
C. from
D. with
【单选题】
This kind of plant___a lot of water at all times.
A. assumes
B. limits
C. produces
D. requires
【单选题】
Look! Here ___ the famous player.
A. comes
B. come
C. had come
D. coming
【单选题】
Uncle Sam sent him a___ bicycle as a birthday present.
A. red sports new
B. sports new red
C. new sports red
D. new red sports
【单选题】
I couldn't find my English-Chinese dictionary___.
A. anywhere
B. everywhere
C. nowhere
D. somewhere
【单选题】
The plane was about to___, and yet I left my ticket behind.
A. take off
B. take on
C. take up
D. take in
【单选题】
John succeeded ___ what he wanted.
A. to get
B. to getting
C. in getting
D. and getting
【单选题】
The accident was ___ to careless driving.
A. for
B. likely
C. due
D. because
【单选题】
With a good command of reading skills, most students can manage to read ___as they could the year before.
A. as twice fast
B. as fast as twice
C. as twice as fast
D. twice as fast
【单选题】
Some famous singers live on the ___from their record sales.
A. salary
B. price
C. bill
D. income
【单选题】
_____of them thinks that is a good idea.
A. Anyone
B. No one
C. None
D. Someone
【单选题】
Don't be too ___about things you're not supposed to know.
A. strange
B. amusing
C. curious
D. conscious
【单选题】
It was in 1969 ___the American astronauts succeeded in landing on the moon.
A. when
B. the moment
C. which
D. that
【单选题】
___people in the world are sending information by e-mail every day.
A. Several million
B. Many millions
C. Several millions
D. Many million
【单选题】
He___less time reading stories about film stars than before.
A. takes
B. spends
C. costs
D. pays
【单选题】
Selecting a mobile phone for personal use is no easy task because technology___so rapidly.
A. is changing
B. has been changed
C. will have changed
D. will change
【单选题】
The taxi driver always reminds passengers to ___their belongings when they leave the car.
A. keep
B. catch
C. hold
D. take
【单选题】
Little Tom is used to getting up ___eight every morning.
A. at
B. on
C. in
D. of
【单选题】
If the doctor had been available, the child _______.
A. would not die
B. could not have died
C. might not die
D. should not have died
【单选题】
If Mary___shopping this afternoon, please ask her to write a shopping list first.
A. will go
B. goes
C. went
D. has gone
【单选题】
These desks and chairs ___to the children in the mountain villages next week.
A. are sent
B. will send
C. have sent
D. will be sent
【单选题】
Every society has its own peculiar customs and ___of acting.
A. attitudes
B. behavior
C. ways
D. means
【单选题】
China is ___the Great Wall.
A. on
B. famous
C. famous for
D. famous as
【单选题】
The dog was tearing the cloth___its teeth.
A. with
B. by
C. through
D. in