0 votes
So I answered question 1a --

as just "config" instead of "window.config", but it should also be correct as both of them refer to the same global variable. Can you please check the question once again

Thank you
Regards
ago in ex05 by (130 points)
retagged ago by
edit history

1 Answer

0 votes

The question explicitly asked for the JavaScript variable being set using DOM clobbering. The code accesses the property via window.config, and that is the variable expected by the exercise.

Since the grading for this question requires the exact variable name referenced in the code, config cannot be accepted as a correct answer.

ago by (320 points)
edit history