刷题
导入试题
【多选题】
(专基)var str="Is this his miss"; var patt1=/^Is/g; console.log(str.match(patt1));打印结果的数组中不可能包含的值有( )___
A. : Is
B. : this
C. : his
D. : miss
查看试卷,进入试卷练习
微信扫一扫,开始刷题
答案
BCD
解析
暂无解析
相关试题
【多选题】
(专基_Js)以下DOM设置语句语法`正确的有( )。___
A. : document.getElementById("box").style.border-top="1px solid #f00"
B. : document.getElementsByTagName("body")[0].style.paddingTop = "10px"
C. : document.getElementsByTagName("body")[0].innerHTML = "HELLO"
D. : document.getElementById("box").innerHTML = '<b>hello</b>'
【多选题】
(专基_Js)以下哪些是DOM对象的方法( )。___
A. : getElementById()
B. : getElementsByTagName()
C. : value
D. : innerHTML
【多选题】
(网站工程)以下语句语法`正确的有?( )___
A. : document.getElementById("box").style.border-top="1px solid #f00"
B. : document.getElementsByTagName("body").style.paddingTop = "10px"
C. : document.getElementsByTagName("body")[0].innerHTML = "HELLO"
D. : document.getElementsByTagName("div")[0].innerHTML = '<b>hello</b>'
【多选题】
(专基js)以下关于DOM说法`正确的是___
A. : document.getElementById()只能获取一个节点
B. : document.getElementByTagName()可以获取一个伪数组,保存节点的集合
C. : document.getElementById()如果没有获取到节点默认返回null
D. : 以上都不对
【多选题】
(专基js)innerHTML可以向指定节点内写入___
A. : 文本
B. : 注释
C. : 标签
D. : 以上都不对
【多选题】
(专基_Js)事件处理程序有( )。___
A. : HTML事件处理程序
B. : DOM0级事件处理程序
C. : DOM1级事件处理程序
D. :
E. S事件处理程序
【多选题】
(专基_Js)已知按钮节点btn,以下能实现单击btn按钮,弹出"hello JS"的语法`正确的有( )。___
A. : btn.onclick = function(){ alert( "hello JS" ); }
B. : btn.click = function(){ alert( "hello JS" ); }
C. : btn.onclick = fn ; function fn(){ alert( "hello JS" ); }
D. : btn.onclick = fn() ; function fn(){ alert( "hello JS" ); }
【多选题】
(专基_Js)以下属于键盘的事件有( )。___
A. : keydown
B. : keyup
C. : keypress
D. : keymove
【多选题】
(专基js)已知按钮节点btn,以下能实现单击btn按钮,弹出"hello world"的语法`正确的有___
A. : btn.onclick = function(){ alert( "hello world" ); }
B. : btn.click = function(){ alert( "hello world" ); }
C. : btn.onclick = fn ; function fn(){ alert( "hello world" ); }
D. : btn.onclick = fn() ; function fn(){ alert( "hello world" ); }
【多选题】
(专基js)以下是鼠标事件的有___
A. : mouseover
B. : mouseleave
C. : mousedown
D. : mouseout
【多选题】
(专基_Js)以下设置定时器的方法`正确的有( )。___
A. : setInterval()
B. : setTimeout()
C. : clearInterval()
D. : cleaTimeout()
【多选题】
(专基_Js)以下是清除定时器的方法`正确的有( )。___
A. : setInterval()
B. : setTimeout()
C. : clearInterval()
D. : cleaTimeout()
【多选题】
(专基_Js)以下是设置定时器的方法有( )。___
A. : setInterval()
B. : setTimeout()
C. : clearInterval()
D. : cleaTimeout()
【多选题】
(专基_Js)有函数myFn需要重复调用执行,间隔时间1秒,则以下语法结构`正确是有( )。___
A. : setInterval( myFn , 1000 )
B. : setInterval( function(){ myFn()} , 1000 )
C. : setInterval( myFn() , 1000 )
D. : setInterval( "myFn()" , 1000 )
【多选题】
(专基_Js)以下是数组的方法有( )。___
A. : push()
B. : shift()
C. : split()
D. : slice()
【多选题】
(专基_Js)以下关于DOM对象说法`正确的是( )。___
A. : document.getElementsByTagName()可以获取一个伪数组,保存节点的集合
B. : document.getElementById()只能获取1个节点
C. : document.getElementById()如果没有获取到节点则报错
D. : document.getElementsByTagName()有length属性
【多选题】
(网站工程)以下哪些绑定事件写法`正确?___
A. : p.onclick = function(){}
B. : p.onclick = fun
C. : p.onclick = fun()
D. : p[“onclick”] = function(){}
【多选题】
(专基_Js)JS技能中拖拽案例使用了以下哪些事件( )。___
A. : mousemove
B. : mousedown
C. : mouseup
D. : mouseover
【多选题】
(专基_Js)已知按钮btn,以下能实现单击btn按钮,弹出"hello JS"的语法错误的有( )。___
A. : btn.onclick = function(){ alert( "hello JS" ); }
B. : btn.click = function(){ alert( "hello JS" ); }
C. : btn.onclick = fn ; function fn(){ alert( "hello JS" ); }
D. : btn.onclick = fn() ; function fn(){ alert( "hello JS" ); }
【多选题】
var num = Math.floor( Math.random() * 8 + 1); 以下选项哪些可能是num的返回结果___
A. : 6
B. : 4
C. : 2
D. : 1
【多选题】
(专基_Js)删除数组arr末尾元素可以使用哪些方法( )。___
A. : arr.pop()
B. : arr.length = arr.length - 1
C. : arr = splice(arr.length, 1)
D. : arr.splice(arr.length - 1, 1)
【多选题】
实现在浏览器中按下鼠标开始拖动,松开停止拖动的效果,用到的鼠标事件有():___
A. : onmouseup
B. : onmousedown
C. : onmousemove
D. : onmouseover
【多选题】
关于JavaScript中的数组,说法`正确的是()?___
A. : JavaScript中没有数组类型
B. : new Array(3)定义的数组中只有一个元素是3
C. : new Array(1,2,3)定义的数组中有3个元素
D. : JavaScript中的数组可以用new Array()来定义
【多选题】
(专基_Js)以下是日期对象的方法的有( )。___
A. : getTime()
B. : setWeek()
C. : setFullYear()
D. : setDay()
【多选题】
alert(arr2);输出结果错误的是( )。___
A. : [1,2,3,4]
B. : "1,2,3,4"
C. : 4
D. : []空数组
【多选题】
以下描述错误的是( )。___
A. : 数组arr1只有1项
B. : 数组arr2只有1项
C. : 数组arr2有10项
D. : arr1等于arr2
【多选题】
函数的构成()?___
A. : 函数名
B. : 形参
C. : 实参
D. : 括弧
【多选题】
以下哪些变量的命名是合法的( )___
A. : 88age
B. : _userEmail5
C. : if
D. : pwd2
【多选题】
(专基_Js)以下Date对象的方法,`正确的有( )。___
A. : getfullYear()
B. : getMinutes()
C. : getWeek()
D. : getDay()
【多选题】
(专基_Js)pop是删除数组的最后一项。___
A. : 对
B. : 错
【多选题】
NaN是一种特殊的数值类型。___
A. : 对
B. : 错
【判断题】
(专基_Js)null是一种特殊的object::
A. 对
B. 错
【判断题】
(专基_Js)JS数据类型中表示真与假的类型是布尔类型
A. 对
B. 错
【判断题】
(专基_Js)document.write()方法只能向页面输出文本
A. 对
B. 错
【判断题】
(专基_Js)undefined表示未定义类型
A. 对
B. 错
【判断题】
(专基_Js)布尔类型里面有两个值,分别是true和false
A. 对
B. 错
【判断题】
(专基_Js)NaN和任何内容都不相等,包括它本身
A. 对
B. 错
【判断题】
c的结果类型为number::
A. 对
B. 错
【判断题】
(专基_Js)JS中加号不仅有相加的功能,还有能使字符串拼接的功能
A. 对
B. 错
【判断题】
(专基_Js)取余操作符有这样的规则:如果前面的值小于后面的值,则取余的结果就是前面的值
A. 对
B. 错
推荐试题
【单选题】
Then the speaker __________ the various factors leading to the present economic crisis.___
A. went for
B. went after
C. went into
D. went on
【单选题】
I know Jonathan quite well and never doubt_____ he can do a good job of it___.
A. whether
B. that
C. when
D. what
【单选题】
I'm afraid it ______ tomorrow, but who knows?___
A. may have rained
B. might rain
C. would rain
D. ought to rain
【单选题】
He has spent ____money on his new house.___
A. a large number of
B. the number of
C. lots of
D. numbers of
【单选题】
This is the hotel __________ I like to stay.___
A. in which
B. at which
C. to which
D. at that
【单选题】
Would you mind keeping a(n)__________on the house for us while we are away?___
A. eye
B. /look
C. hand
D. view
【单选题】
He suggested the sports meet be _______because of the bad weather. ___
A. put away
B. put up
C. put down
D. put off
【单选题】
If the weather is __________ suitable, we will play the football match on Tuesday. ___
A. by means of
B. by any means
C. by no means
D. by all means
【单选题】
_____________is one of the five working languages at U.N. , which _______ are very proud of.___
A. The Chinese, the Chinese
B. Chinese language, Chinese
C. Chinese, the Chinese
D. Chinese language, the Chinese
【单选题】
The war lasted so long that people were tired of it. Everyday there was large crowds of demonstrators _____against the war.___
A. protecting
B. prescribing
C. protesting
D. prosecuting
【单选题】
Tom is so talkative. I’m sure you'll soon get tired ________ him.___
A. of
B. with
C. at
D. on
【单选题】
He ________ driving me home, even though I told him I lived nearby.___
A. insisted on
B. insisted at
C. insisted that
D. insisted in
【单选题】
We came finally ______ the conclusion that she has been telling lies all the time.___
A. of
B. into
C. to
D. at
【单选题】
I am not used to speaking ________ public.___
A. in
B. at
C. on
D. to
【单选题】
I didn’t know what to do, but then an idea suddenly ________to me.___
A. appeared
B. happened
C. occurred
D. emerged
【单选题】
Measles (麻疹) ________ a long time to get over.___
A. spend
B. spends
C. take
D. takes
【单选题】
A pair of spectacles ________ what I need at the moment.___
A. is
B. are
C. has
D. have
【单选题】
I fell and hurt myself while I ________ basketball yesterday.___
A. was playing
B. am playing
C. play
D. played
【单选题】
Don't forget _________ the window before leaving the room.___
A. to have closed
B. to close
C. having closed
D. closing
【单选题】
Twenty people were______ wounded in the air crash.___
A. quickly
B. wrongly
C. bitterly
D. seriously
【单选题】
The top of the Great Wall is ________ for five horses to go side by side.___
A. wide
B. so wide
C. wide enough
D. enough wide
【单选题】
Nancy is considered to be _________ the other students in her class.___
A. less intelligent
B. the most intelligent
C. intelligent as well
D. as intelligent as
【单选题】
She is not only my classmate __________ also my good friend.___
A. or
B. but
C. and
D. too
【单选题】
I would like to do the job ________ you don't force me to study.___
A. in case
B. although
C. though
D. as long as
【单选题】
__________ she survived the accident is miracle.___
A. What
B. That
C. As
D. Which
【单选题】
I often see _________ the road on his way home.___
A. he cross
B. him cross
C. him crossed
D. he crossing
【单选题】
The workers are busy __________ models for the exhibition.___
A. to make
B. with making
C. being making
D. making
【单选题】
The higher the temperature, __________ the liquid evaporates.___
A. the faster
B. the more fast
C. the slower
D. the more slower
【单选题】
Australia is one of the few countries ___________ people drive on the left of the road.___
A. which
B. that
C. where
D. on which
【单选题】
The grey building is the place where the workers live, and the white building is the place where the spare parts _________ .___
A. are producing
B. are produced
C. produced
D. being produced
【单选题】
Once environmental damage ___________, it takes many years for the system to recover.___
A. is to do
B. does
C. had done
D. is done
【单选题】
We worked hard and completed the task ________.___
A. in the time
B. on the time
C. ahead of time
D. before time
【单选题】
I didn't expect you to turn __________ at the meeting yesterday.___
A. up
B. to
C. out
D. over
【单选题】
Mike is better than Peter _________ swimming.___
A. for
B. at
C. on
D. in
【单选题】
Eggs, though rich in nourishments, have ___________ of fat.___
A. a large number
B. the large number
C. a large amount
D. the large amount
【单选题】
His salary as a driver is much higher than _____________.___
A. a porter
B. is a porter
C. as a porter
D. that of a porter
【单选题】
I have been looking forward to__________ from my parents.___
A. hear
B. being heard
C. be heard
D. hearing
【单选题】
The manager will not __________ us to use his car.___
A. have
B. let
C. agree
D. allow
【单选题】
__________ her and then try to copy what she does.___
A. Mind
B. See
C. Stare at
D. Watch
【单选题】
It's bad __________ for you to smoke in the public places where smoking is not allowed.___
A. behavior
B. action
C. manner
D. movement
欢迎使用我爱刷题
×
微信搜索我爱刷题小程序
温馨提示
×
请在电脑上登陆“www.woaishuati.com”使用