Q. What is the purpose of the 'use strict' directive?
β
Correct Answer: (A)
Enables strict mode which catches common coding bugs
Explanation: It activates strict mode which enforces stricter parsing and error handling.