JavaScript Conditional Statements
JavaScript Conditional Statements - Important Points
11. | What is the value of x after the following code is executed: var x = 10; |
---|
A. 10
B. 15
C. 20
D. 25
View Answer Discuss Work SpaceAnswer: option c
Explanation:
12. | What is the output of the following code? var x = 10; |
---|
A. x is 10
B. x is not 10
C. undefined
D. Error
View Answer Discuss Work SpaceAnswer: option a
Explanation:
13. | What is the output of the following code? var x = 10; |
---|
A. x is greater than 20
B. x is greater than 5 but less than or equal to 20
C. x is less than or equal to 5
D. None of the above
View Answer Discuss Work SpaceAnswer: option b
Explanation:
14. | What is the value of x after the following code is executed: var x = 10; |
---|
A. 15
B. 20
C. 25
D. 30
View Answer Discuss Work SpaceAnswer: option b
Explanation:
15. | What is the output of the following code? var x = 5; |
---|
A. x is greater than y
B. y is greater than or equal to x
C. undefined
D. Error
View Answer Discuss Work SpaceAnswer: option b
Explanation: