下载APP
【单选题】
Run the following code, y and z result are ( ) respectively.var m=1,j=k=0;function add(n){return n=n+1;}y=add(m);function add(n){return n=n+3;}z=add(m);
A.
2,4
B.
4,4
C.
2,2
D.
exception
举报
如何制作自己的在线小题库
参考答案:
参考解析:
刷刷题刷刷变学霸
举一反三
【单选题】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.
探索自我认同的各个方面,形成整合的自我概念
查看完整题目与答案
【单选题】从()到行为、再到结果(品格)的形成过程你,是养成好习惯的逻辑基础,也为我们反思和改变坏习惯提供一个良好的思考视角。
A.
思维
B.
习惯
C.
道德
D.
人格
查看完整题目与答案
【单选题】良好的行为习惯养成过程,是一个()完成自我修炼的过程。
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.
查看完整题目与答案
【单选题】好的习惯应该扎根于事物发展的基本原则,符合()。
A.
自然现象
B.
自然规律
C.
社会规范
D.
宗教伦理
查看完整题目与答案
【单选题】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.
查看完整题目与答案
【单选题】Read the following JavaScript code:function f(y) {var x=y*y;return x;}for(x=0; x<5; x++) {y=f(x);document.writeln(y);}What is the output? ( )
A.
0 1 2 3 4
B.
0 1 4 9 16
C.
0 1 4 9 16 25
D.
None of the above answers is correct.
查看完整题目与答案