【单选题】
以上代码执行的结果为___
A. : 80
B. : 90
C. : 60
D. : NaN
查看试卷,进入试卷练习
微信扫一扫,开始刷题

答案
D
解析
暂无解析
相关试题
【单选题】
(专基_Js)在正则表达式(abc){2} 表示( )。___
A. : 表示匹配abc整体2次
B. : 表示匹配ab和c2次
C. : 表示匹配abc和2
D. : 以上都不对
【单选题】
(专基_Js)以下匹配url地址是否`正确的正则表达式是( )url地址可以是http://www.baidu.com,也可以是https://baidu.com。___
A. : /^http(s)?:\/\/(www\.)?[a-z\d]+\.[a-z]+$/
B. : /^(https)?:\/\/(www.)?[a-z\d]+\.[a-z]+$/
C. : /^http(s)?:\/\/(www\.)*[a-z\d]+\.[a-z]+$/
D. : /^http(s):\/\/(www\.)?[a-z\d]*\.[a-z]?$/
【单选题】
(专基)以下是匹配手机号码`正确的是___
A. : /^1[345678][0-9]9$/
B. : /^1[345678][0-9]{9}$/
C. : /^1[345678][0-9]{9}/
D. : 以上都不对
【单选题】
console.log( arr );打印结果为___
A. : ["box1","box2","","box3","box4","",""]
B. : ["box1","box2","","","box3","box4"]
C. : ["box1","box2","box3","box4"]
D. : 以上都不对
【单选题】
console.log( newStr );打印结果为___
A. : "bond,mat,sat,fat"
B. : "bond,mond,sond,fond"
C. : "bat,mat,sat,fond"
D. : 以上都不对
【单选题】
var str="Take me and tom to the moon"; var patt1=/\bm/g; console.log(str.match(patt1));打印结果是( )? ___
A. : ["m","m"]
B. : ["m","m","m"]
C. : ["me","monn"]
D. : ["me","tom","monn"]
【单选题】
(专基_Js)已知文本框节点为ipt,设置文本框内容为"hello world"的语法为( )。___
A. : ipt.innerHTML = "hello world"
B. : ipt.value = "hello world"
C. : ipt.inner = "hello world"
D. : ipt.val = "hello world"
【单选题】
<input type="button" id="btn" value="登录">document.getElementById("btn").onclick=say();function say(){alert("hello")}对以上代码的描述`正确的是( )___
A. : 点击“登录”按钮时弹出hello
B. : 无需点击“登录”按钮,直接弹出hello
C. : 鼠标滑过“登录”按钮时弹出hello
D. : 点击“登录”按钮时程序报错,say是undefined
【单选题】
(专基js)以下设置元素dom样式`正确是___
A. : dom.style.font-size = "20px"
B. : dom.background = "red"
C. : dom.style.fontSize = "20"
D. : dom.style.fontSize = "20px"
【单选题】
(专基_Js)当页面完全加载后在 window 上面触发的事件是以下哪一个( )。___
A. : load
B. : unload
C. : focus
D. : blur
【单选题】
(专基js)<span id="title">welcome to <em>beijing</em></span>,console.log(document.getElementById("title").innerHTML)的打印结果是?___
A. : welcome to <em>beijing</em>
B. : welcome to beijing
C. : <em>beijing</em>
D. : welcome to
【单选题】
(专基_Js)定义超时调用的方法是( )。___
A. : setInterval()
B. : setTimeout()
C. : clearInterval()
D. : cleaTimeout()
【单选题】
(网站工程)window.( )是用来弹出一个确认对话框的?___
A. : open()
B. : alert()
C. : confirm()
D. : prompt()
【单选题】
以下哪个方法是用来清除超时调用的?___
A. : setInterval()
B. : clearInterval()
C. : setTimeout()
D. : clearTimeout()
【单选题】
console.log(typeof(aa));var aa=1;的结果是?___
A. : undefined
B. : number
C. : string
D. : 报错
【单选题】
console.log(a === b);___
A. : false true
B. : false false
C. : true true
D. : true false
【单选题】
若将时间类型数据直接转换为时间戳可用的方法是():___
A. : valueOf()
B. : toLocaleString()
C. : setSeconds()
D. : toString()
【单选题】
(网站工程)假设box是获取到的dom对象,以下没有语法错误的语句是?___
A. : box.width = "30px"
B. : box.style.background-image = "img/bg.jpg"
C. : box.style.color = #00f
D. : box.style.marginLeft = "5px"
【单选题】
(专基_Js)以下哪个方法是字符串位置方法的为( )。___
A. : substr()
B. : toLowerCase()
C. : toUpperCase()
D. : indexOf
【单选题】
()方法返回一个字符串,该字符串中的所有字母都被转换为大写字母:___
A. : toLowerCase
B. : ?toLocaleUpperCase
C. : toLocaleLowerCase
D. : toUpperCase
【多选题】
(专基_Js)变量的命名规范有( )。___
A. : 只能以字母下划线或$符开头
B. : 变量名不区分大小写
C. : 不能以数字你开头
D. : 可以使用关键字保留字命名
推荐试题
【单选题】
大型商场火灾扑救应坚持___的战术原则,优先利用建筑内部的消防设施实施火灾扑救。
A. 以固为主、固移结合
B. 先控制、后消灭
C. 攻防并举、准确迅速
D. 冷却保护、防止爆炸
【单选题】
中队___是形成战斗编成的前提和基础,是中队灭火救援能力强弱的关键因素,它主要由中队车辆装备配备情况、人员数量和人员训练情况所决定。
A. 人员装备实力
B. 辖区火灾特点
C. 辖区水源分布情况
D. 中队执勤力量
【单选题】
___主要由辖区内建筑物的数量、高度、耐火等级以及建筑物内可燃物的数量所决定,它是确定中队战斗编成的主要依据。
A. 人员装备实力
B. 辖区火灾特点
C. 辖区水源分布情况
D. 中队执勤力量
【单选题】
Tom is a book lover. ______ likes reading very much.
A. He B. She C. You D. It
A. A
B. B
C. C
D. D
【单选题】
—May I listen to the music here, Mr. White?
—Sorry, you’d better it like that.
A. not to do B. not do to
C. dont do D. not do
A. A
B. B
C. C
D. D
【单选题】
3.—Did you have a good time at Lauras birthday party?
— Yes, indeed. Its several years ________ I enjoyed myself so much.
A. when B. before C. since D. that
A. A
B. B
C. C
D. D
【单选题】
4. —___________ is the Summer Palace from here?
About three kilometers away. You can take the No. 35 bus.
A. How long B. How far C. How often D. How much
A. A
B. B
C. C
D. D
【单选题】
5. I was looking for a birthday gift for my mother, but I couldnt find ______ suitable.
A. anything B. something C. nothing D. everything
A. A
B. B
C. C
D. D
【单选题】
6. A friend of my ____ and I are going to visit_______ next week.
A. father; Browns B. father's; Browns
C. father; the Browns D. father's; the Browns
A. A
B. B
C. C
D. D
【单选题】
7. She ______ very hard since she came to our school.
A. studies B. has studied C. is studying D. studied
A. A
B. B
C. C
D. D
【单选题】
8. — Who will send you to the new school, your mom or your dad?
— _______. Ill go there by myself.
A. Both B. Either C. Neither D. None
A. A
B. B
C. C
D. D
【单选题】
9.—Well do what we can ____English well this term.
—It’s high time for you to work hard.
A. study B.to study C. be studied D. be studying
A. A
B. B
C. C
D. D
【单选题】
10. —I’m going to Flower Bookstore. Could you tell me ______?
— Sorry, I don’t know. I’m new here.
A. where it is B. where was it C. where is it D. where it was
A. A
B. B
C. C
D. D
【单选题】
11. How do you like the dishes, Eric?
— Fantastic! Nothing tastes ________.
A. nice B. better C. terrible D. worse
A. A
B. B
C. C
D. D
【单选题】
12. ______ Lin Feng has to work late, she always wears a smile on her face.
A. Because B. If C. Until D. Though
A. A
B. B
C. C
D. D
【单选题】
13.You can save money _______ you buy cheaper things.
A. before B. unless C. if D. until
A. A
B. B
C. C
D. D
【单选题】
14. We will have a _________ holiday after the exam.
A. two-month B. two month’s C. two month D. two-months
A. A
B. B
C. C
D. D
【单选题】
15. —We will build an underground in Xuzhou before 2015.
— Wow, _______! Will it pass our place?
A. what an excited news B. how excited the news is
C. what exciting news D. how exciting
A. A
B. B
C. C
D. D
【单选题】
16. — Emily, here’s a dictionary.I hope it will help you in some way.
— Thank you.It’s ________ what I need.
A. almost B. still C. only D. just
A. A
B. B
C. C
D. D
【单选题】
17. —Oh.I’m hungry.Mum, can I have the hamburger on the plate?
—No.It tastes .
A. terribly B. terrible C. good D. well
A. A
B. B
C. C
D. D
【单选题】
18. —We can invite our teachers to the farewell party next Saturday.
—Yes, ______? I’ll call them at once.
A. what for B. what C. why not D. why
A. A
B. B
C. C
D. D
【单选题】
19.You can ________ ask the old man to move away to any other place because he has lived ________ here for at least sixty years.
A. hardly; alone B. hard; alone
C. hardly; lonely D. hardly; lonely
A. A
B. B
C. C
D. D
【单选题】
20.—I’m going back to see my grandparents this weekend.
—________.
A. It’s very nice of you B. You’d better hurry
C. Say goodbye to them D. Give my best wishes to them
A. A
B. B
C. C
D. D
【单选题】
21.—Why not take ____ umbrella with the sign “Made in China”? It is useful.
—What _______ good advice it is!
A. an; a B. a; a C. an; \ D. \; a
A. A
B. B
C. C
D. D
【单选题】
22. —Do you know the boy________ is sitting next to Peter?
— Yes. He is Peter’s friend. They are celebrating his ________ birthday.
A. who; ninth B. that; ninth C. /; ninth D. which; ninth
A. A
B. B
C. C
D. D
【单选题】
23. It was dark, ______ I couldnt see what was happening.
A. or B. though C. but D. so
A. A
B. B
C. C
D. D
【单选题】
24.—You can use MSN to talk with Vivien on the Internet.
—I know. But can you tell me ________?
A. what I can use it B. when I can use it
C. why can I use it D. how can I use it
A. A
B. B
C. C
D. D
【单选题】
25. _______ are you going to the School Uniform Exhibition, Amy ?
To learn about different styles of school uniform.
A. What B. Where C. Which D. Why
A. A
B. B
C. C
D. D
【单选题】
( ) 26. Where does the writer of "The little Prince" come from?
A.England. B.France. C.America. D.China.
A. A
B. B
C. C
D. D
【单选题】
( ) 27. What does the prince do after the fox tells him a secret?
A.He cares more about a flower and a sheep.
B.He meets many more strange adults on other planets.
C.He realizes his love for the rose and he goes back to his planet.
D.He discovers interesting things such as a snake, other roses and a fox
A. A
B. B
C. C
D. D
【单选题】
( ) 28. What does "The little Prince" mainly talk about? It' s about _________.
A.the adult world B.the planet B -612
C.a rose and a fox D.the adventure of a young prince
A. A
B. B
C. C
D. D
【单选题】
( ) 29. What is the writer's main purpose(目的)in writing this passage?
A.To tell the readers his life story.
B.To tell people what kind of person his father was.
C.To tell the readers what present he got from his father.
D. To let people know how poor he was.
A. A
B. B
C. C
D. D
【单选题】
( ) 30. Why did the father not ask his son not to do this and do that?
A.Because he felt quite confident of his son.
B.Because he was born from a poor family.
C.Because he was a man of few words.
D.Because he didn't want to be much too strict with his son.
A. A
B. B
C. C
D. D
【单选题】
( ) 31. What would someone learn from this passage?
A.How to live by oneself. B.How to stand on one's own feet.
C.What a good father should do. D.What the self-important is like.
A. A
B. B
C. C
D. D