logo - 刷刷题
下载APP
【单选题】

What does the following code output? ( )var i=0, j=0; for(; i<10, j<7; i++, j++) { k=i+j; }console.log(k);

A.
16
B.
10
C.
12
D.
6
举报
参考答案:
参考解析:
.
刷刷题刷刷变学霸
举一反三

【单选题】Which of the following expressions returns false? ( )

A.
!(3<=1)
B.
(4>=4) && (5<=2)
C.
("a"=="a") && ("c" != "d")
D.
(2<3) || (3<2)

【单选题】Which of the following ways to introduce external js into html is corrent? ( )

A.
<script href='https://cdn.shuashuati.com/imgs/a95092819215d41e0a25bd3c08990fa0tion'></script>
B.
<script src='https://cdn.shuashuati.com/imgs/a95092819215d41e0a25bd3c08990fa0tion'></script>
C.
<script link='https://cdn.shuashuati.com/imgs/a95092819215d41e0a25bd3c08990fa0tion'></script>
D.
<script target='https://cdn.shuashuati.com/imgs/a95092819215d41e0a25bd3c08990fa0tion'></script>

【单选题】Which of the following statements about JavaScript function is correct? ( )

A.
Parameters are acceptable.
B.
There is no difference between arguments and formal parameters.
C.
There is no return type.
D.
There is noreturn keyword.

【单选题】下列哪一项正向事件描述符合青春期阶段?

A.
发展出对不同任务的胜任感
B.
发展出对下一代的关爱,关心他们的健康和发展
C.
学会无私奉献和得到回报
D.
探索自我认同的各个方面,形成整合的自我概念

【单选题】setInterval("alert('welcome');",1000)What is the meaning of the code on the left? ( )

A.
After waiting for 1000 seconds, a dialog box pops up.
B.
After waiting for 1 second, a dialog box pops up.
C.
Statement error, syntax error.
D.
A dialog box pops up every 1 second.

【单选题】Where is JavaScript running on? ( )

A.
Server side
B.
Client side
C.
After the script runs on the server side, the result is returned to the client side.
D.
After the script runs on the client side, the result is returned to the server side.