【判断题】
(专基_Js)系统弹出框警告框的方法为alert()
查看试卷,进入试卷练习
微信扫一扫,开始刷题
相关试题
【判断题】
(网站)switch语句如果省略break,一旦条件判断成功,则一直向后执行,直到遇到break为止
【判断题】
(专基_Js)prompt()方法返回值的类型一定是字符串类型
【判断题】
(网站)var i = 1;while(i<10){console.log(i);}以上代码是死循环
【判断题】
(专基_Js)for(var i=1,s='';i<=6;i+=3){s+='hi!'}console.log(s)打印出的结果是:hi!hi!
【判断题】
(专基_Js)var a = 'js',b,c = !!a || !b;console.log(c)的打印结果是:true
【判断题】
(专基_Js)break用于结束本次循环
【判断题】
(专基_Js)for循环是可以嵌套使用的
【判断题】
(专基_Js)console.log(Math.ceil(20)+Math.round(1.9)+Math.floor(25.5));打印结果是50
【判断题】
(专基_Js)continue用于结束本次循环,break用于彻底退出整个循环
【判断题】
(专基_Js) !!变量与Boolean(变量)的作用一致
【判断题】
(专基_Js) Math.floor()该方法是向下取整
【判断题】
(专基_Js)Math.random()是随机获取数值的方法,可以随机获取到1
【判断题】
(专基_Js)字符串方法indexOf()或lastIndexOf()方法,如果没有匹配到子字符串默认返回-1
【判断题】
(专基_Js)concat()这个方法用于字符串拼接
【判断题】
(专基_Js) continue用于彻底退出整个循环,break用于结束本次循环
【判断题】
(专基_Js)indexOf()这个方法只能从字符串的第一个字符向后匹配
【判断题】
(专基_Js)JS数据类型转换中,toString()和String()都可以将任何类型的值转为字符串
【判断题】
(专基_Js)数组下标的取值范围是 [0,arr.length-2]
【判断题】
(专基_Js)如果将数组的长度设置为0,则是清空数组的项
【判断题】
(专基_Js)数组是不可以动态进行删除、修改和增加的
【判断题】
(专基_Js) var isEmpty = false;console.log(typeof typeof isEmpty);返回值是true
【判断题】
(专基_Js)数组转字符串的方法是splice()
【判断题】
(专基_Js)数组不能用+进行拼接多个数组
【判断题】
(专基_Js)slice()方法的第二个参数在执行时是包括的
【判断题】
(专基_Js)数组和字符串之间是不可相互转换的
【判断题】
(专基_Js)var arr = [1,2,3,4];console.log( arr.push(5,6) )打印结果是[1,2,3,4,5,6]
【判断题】
以上脚本会正常弹出警告对话框提示hello world
【判断题】
(专基_Js)函数是指由事件驱动或可重复调用执行的代码块
【判断题】
(专基_Js)形参是局部变量,当函数执行结束自动销毁
【判断题】
}以上脚本会正常弹出警告对话框提示hello
【判断题】
(专基_Js) return用于在function中返回值
【判断题】
(专基_Js)如果函数形参没有接收到传递的实参,该形参默认保存null
【判断题】
(网站)var myFun=function(){};console.log(typeof(myFun))的打印结果是object
【判断题】
(专基_Js) 将一个数组的length属性设为0时,意味着这个数组被清空
【判断题】
(网站)var arr = [];for(var i=0;i<3;i++){arr[i]=[]}以上代码说明arr是一个二维数组
【判断题】
(专基_Js)如果没有return语句,则函数调用仅仅依次执行函数体内的每一条语句直到函数结束,这种情况下,调用函数返回的结果是undefined
【判断题】
(专基_Js)使用getHours()方法获取月份时,返回值的取值范围为[1,24]
【判断题】
(专基_Js)new Date( 2018 , 0 , 0 )实际设置的是2017年12月31日
【判断题】
(专基_Js) new Date(2017,11,0).getDate()可以获取2017年11月的总天数
推荐试题
【单选题】
It was a bloody ___ between the two armies.
A. rebellion
B. encounter
C. meet
D. fight
【单选题】
They conferred on the best way to ______ business.
A. extend
B. adjust
C. expand
D. adopt
【单选题】
We had a party last month, and it was a lot of fun, so let’s have ____ one this month.
A. another
B. the other B. more D. other
【单选题】
I decided to go to the library as soon as I ____.
A. finish what I did
B. finished what I did
C. would finish what I was doing
D. finished what I was doing
【单选题】
The speaker, ______ for her splendid speeches, was warmly received by the audience.
A. having known
B. being known
C. knowing
D. known
【单选题】
No sooner had we reached the top of the hill ______ we all sat down to rest.
A. when
B. then
C. than
D. until
【单选题】
___ energy under the earth must be released in one form or another, for example, an earthquake.
A. Accumulated
B. Gathered
C. Assembled
D. Collected
【单选题】
Please ___ me for my rudeness. I really do not know the custom here.
A. engaged
B. comfort
C. execute
D. forgive
【单选题】
Sometimes it is very difficult to ___ some of the English words. Even the native speaker cannot help.
A. decrease
B. create
C. define
D. delight
【单选题】
In the wife’s eyes, his ___ to their marriage life is far from perfect.
A. requirement
B. commitment
C. participation
D. reflection
【单选题】
This newspaper often ___ the government’s opinion, not the public opinion.
A. affects
B. reacts
C. reflects
D. recognizes
【单选题】
It is predicted that heavy rains are ___ to flood the area in a few days.
A. frightening
B. threatening
C. scattering
D. warning
【单选题】
I chose to work abroad to improve my career ___.
A. future
B. path
C. prospect
D. expect
【单选题】
Long before I ever went there, Africa was alive in my ___.
A. image
B. imaginary
C. imaginative
D. imagination
【单选题】
The spectacle of the aurora may appear to dazzle and ___ the observer’s eye.
A. enchant
B. charm
C. fascinate
D. draw
【单选题】
The top prize has enhanced the musician’s ___.
A. fame
B. status
C. courage
D. faith
【单选题】
Compared with Westerners, the ___ use less butter. They prefer the very healthful peanut oil.
A. foreigners
B. Southerners
C. Northerners
D. Orientals
【单选题】
Within a few days she had become seriously ill, ___ great pain and discomfort.
A. surviving
B. suffering
C. affecting
D. accepting
【单选题】
People of their generation who lived through World War II have ___ memories of confusion and incompetence.
A. vivid
B. strong
C. acute
D. profound
【单选题】
Not a breath of fresh air ___ the long white curtains.
A. blew
B. stirred
C. whirled
D. stung
【单选题】
Figures showed customer complaints had ___ to record levels and profits were falling.
A. added
B. climbed
C. accumulated
D. soared
【单选题】
Thanks for the advice, but this is something I have to ___ out myself.
A. fulfill
B. identify
C. figure
D. claim
【单选题】
A ___ monument has been erected in Tian An Men Square in honor of the people’s heroes.
A. magnificent
B. gorgeous
C. huge
D. marvelous
【单选题】
Vietnam made an official ___ that the meeting be postponed.
A. require
B. requirement
C. request
D. agreement
【单选题】
Luke was allowed to sit directly behind the pilot and ___ with him.
A. converse
B. inverse
C. perverse
D. diverse
【单选题】
Maybe this work is not ___, but it will live for a while.
A. mortal
B. deadly
C. immortal
D. worldly
【单选题】
This is why emerging economies set themselves to ___ vast foreign currency reserves in this decade.
A. gather
B. accumulate
C. accelerate
D. assemble
【单选题】
This will enable the audience to sit in ___ while watching the shows.
A. comfort
B. rest
C. relax
D. cozy
【单选题】
Throughout the house, the views are a constant source of surprise and ___.
A. grief
B. pleasant
C. happy
D. delight
【单选题】
Imagination is sometimes more ___ than reality.
A. vivid
B. real
C. bright
D. rich
【单选题】
It is but a step from the ___ to the ridiculous.
A. interest
B. top
C. bottom
D. sublime
【单选题】
My educational ___ is simple: learning should be fun.
A. philosophy
B. psychology
C. physiology
D. physics
【单选题】
I chose to work abroad to improve my career ___.
A. future
B. path
C. prospect
D. expect
【单选题】
Meg stared at her ___ in the bedroom mirror.
A. shadow
B. reflection
C. figure
D. shape
【单选题】
Such technology, however, remains firmly in the ___ of science fantasy.
A. realm
B. region
C. direction
D. district
【单选题】
Long before I ever went there, Africa was alive in my ___.
A. image
B. imaginary
C. imaginative
D. imagination
【单选题】
As a member of the International Olympic Committee her fares and hotel ___ were paid by the IOC.
A. fees
B. allowances
C. expenses
D. money
【单选题】
If they were captured they wished to die, believing that they would go to ___.
A. parasite
B. paradise
C. paraphrase
D. paralyze
【单选题】
Have you ever read Jane Austin's ___ novel Pride and Prejudice?
A. classical
B. class
C. classified
D. classic
【单选题】
She says that being with a ___ mate, one will naturally forget all the worries.
A. heart
B. spirit
C. soul
D. brain