- A Debugger
- B With
- C if
- D use strict
- Share this MCQ
Answer:
D
Share this MCQ
The "use strict" directive is a way to opt-in to a restricted variant of JavaScript.
The purpose of "use strict" is to indicate that the code should be executed in "strict mode".
This is a way to opt-in to a restricted variant of JavaScript, which can help you write "safer" JavaScript.
Share this MCQ