Microsoft
98-382 · Question #17
This question requires that you evaluate the underlined text to determine if it is correct. You review the following JavaScript code: ``javascript var x = 15; x %= 5; `` When this code executes, the…
The correct answer is A. No change is needed. See the full explanation below for the reasoning.
Question
This question requires that you evaluate the underlined text to determine if it is correct. You review the following JavaScript code:
var x = 15;
x %= 5;
When this code executes, the value of x is 0. Review the underlined text. If it makes the statement correct, select "No change is needed". If the statement is incorrect, select the answer choice that makes the statement correct.Options
- ANo change is needed
- Bthe value of x is 3
- Cthe value of x is 5
- Dthe value of x is undefined
How the community answered
(42 responses)- A76% (32)
- B14% (6)
- C2% (1)
- D7% (3)
Community Discussion
No community discussion yet for this question.