exam questions

Exam 70-480 All Questions

View all questions & answers for the 70-480 exam

Exam 70-480 topic 3 question 21 discussion

Actual exam question from Microsoft's 70-480
Question #: 21
Topic #: 3
[All 70-480 Questions]

HOTSPOT -
You troubleshoot a webpage that includes the following code segment:

You need to evaluate the value of the variable named customer.name.
For each statement in the table, select Yes if the code segment above causes the variable to evaluate as described. Select No if it does not. Make only one selection in each column.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
The variable customer is undefined, as it outside the scope of the function, at line alert(customer.name);

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
SephGrave
Highly Voted 5 years, 8 months ago
No, No, Yes, No, No: Value is Undefined.
upvoted 15 times
superhands
5 years, 2 months ago
usually when you refer to something that is undefined you get a console error that is thrown. so i wonder if the first one is yes also?
upvoted 1 times
...
...
Stienes
Most Recent 5 years, 5 months ago
No,No,YES,NO,NO; I tested this piece of Code and the result is undefined
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...