Explain it in 60 seconds
Strict mode in JavaScript
Frontend Engineering · JavaScript Core · Beginner
What is strict mode, and why use it?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- "use strict" opts into stricter rules.
- Errors on undeclared variables.
- this undefined in plain functions.
- Disallows some unsafe syntax.
- Modules and classes strict by default.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.