exam questions

Exam 98-382 All Questions

View all questions & answers for the 98-382 exam

Exam 98-382 topic 1 question 38 discussion

Actual exam question from Microsoft's 98-382
Question #: 38
Topic #: 1
[All 98-382 Questions]

HOTSPOT -
You are evaluating a colleague's code to ensure it meets best practices.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
References: https://www.w3schools.com/js/js_conventions.asp

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
Ciupaz
Highly Voted 4 years, 9 months ago
This question is misleading, because also ~score is not a variable name (That’s an invalid identifier according to ECMAScript 6 / Unicode 8.0.0.).
upvoted 9 times
...
dev_ash
Most Recent 3 years, 3 months ago
yes, no, no, no. The ~ cannot be used when creating a variable as its a special character
upvoted 1 times
...
123nickname123
4 years, 4 months ago
wrong answer, ~score gives an error in the console
upvoted 2 times
kisskeo
3 years, 9 months ago
It gives an error ive checked in the console. In this case ill choose no
upvoted 1 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 ...