What does 'use strict' do in JavaScript?
Prevents errors in the code
Enforces stricter parsing and error-handling rules
Allows use of old JavaScript syntax
Removes debugging restrictions
This question is part of this quiz :
Introduction To JavaScript