Strict mode is an option added in ECMAScript 5 to enable a few backwards-incompatible enhancements. Behaviour changes in "strict mode" code include:
window.undefined) raises an error instead of executing silently;0777) is unsupported;with statement is unsupported;eval cannot create variables in the surrounding scope;.caller and .arguments properties are unsupported;window is no longer automatically used as the value of this.NOTE:- 'strict' mode is NOT enabled by default as if a page uses JavaScript which depends on features of non - strict mode, then that code will break. Thus, it has to be turned on by the programmer himself / herself.