Prev 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?

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


Prev Question

Leave a Reply

Your email address will not be published. Required fields are marked *