JavaScript | Introduction To JavaScript| Question 8

Last Updated :
Discuss
Comments

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

Share your thoughts in the comments