CIW
1D0-635 · Question #12
Maria, a 22-year old student, is testing her JavaScript application, which includes the following code: Assuming Maria enters truthful information, what is the value of z after executing this code?
The correct answer is D. Maria is 22 years old. See the full explanation below for the reasoning.
Question
Maria, a 22-year old student, is testing her JavaScript application, which includes the following code:
Assuming Maria enters truthful information, what is the value of z after executing this code?
Options
- ANo value ?error in line 1 due to missing var keyword for userAge.
- BNo value ?error in line 1 due to multiple declarations in one line.
- CMaria "is" 22 "years old"
- DMaria is 22 years old
How the community answered
(24 responses)- A4% (1)
- B13% (3)
- C4% (1)
- D79% (19)
Community Discussion
No community discussion yet for this question.