GLOSSARY · A WORD, UNPACKED
strict mode
a JavaScript mode that turns some silent mistakes into errors and changes a few unsafe defaults.
A little more detail
Use the directive "use strict" for a classic script or function body; modules and class bodies are strict automatically. A plain regular function call in strict mode receives undefined as this. Strict mode helps expose mistakes, but does not supply types or automatically make every operation safe.
See it in practice
These lessons pair the idea with examples you can change and run.