PrepAway - Latest Free Exam Questions & Answers

what is the value of z after executing this code?

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?

PrepAway - Latest Free Exam Questions & Answers

A.
No value ?error in line 1 due to missing var keyword for userAge.

B.
No value ?error in line 1 due to multiple declarations in one line.

C.
Maria “is” 22 “years old”

D.
Maria is 22 years old

Explanation:

PrepAway - Latest Free Exam Questions & Answers

Leave a Reply