- Easier debugging due to eliminating silent errors.
- Disallows variable redefinition.
- Prevents accidental global variables.
- Oftentimes provides increased performance over identical code that is not running in strict mode.
thiscoercion, throwing an error when
thisreferences a value of
- Throws an error on invalid usage of
- Prohibits some syntax likely to be defined in future versions of ECMAScript