Javascript in Normal level
/20
0
:
0
Submit
Total 20 question (100 marks)
1. What is the result of "variable"? var variable; if (""){ variable = true; } else { variable = 55; }
2. What is isNaN() function in Javascript?
3. How to assign value to the myName variable but still keep old value? Select the right answer.
4. What is the result of the below function: function test() { if(true) { var a
5. Select the correct option when While loop bellow is finished? var i = 2 ; while (i <= 10) {
6. How to Look for the biggest number between two numbers?
7. Select the right options about function in Javascript
8. What is the result of the block code below? function first() { window.age = 15; } function second() {
9. What is the result of a variable when execute command bellow? var a = "I'm " + true; alert(a);
10. What is the "count" value? var count = 0; for(var i = 0; i < 10; i++){ ++count; if(i ==
11. What is the result of the below block code? var a = 1; alert(++a);
12. What is the result of the block js code below? function getSum() { var a = 7;
13. What is the result of the below code? var i = 2; var count = 0; for (; i < 6;
14. What is the output of this program? var a23 = 1; function b24(){ a23 = 10; return; function a23() {
15. What is the result of the below code block? alert(age); var age = 10;
16. What is the output of this program? var fn22 = 1; function gn22() { if(!fn22) { var fn22
17. What is function help execute command javascript in plain text?
18. What is the value of x after finish below command? var x = 4 ; for (i = 0; i
19. How many kinds of loops in Javascript?
20. What is the difference between == and === compare operators in Javascript?
Next
Previous