What is the benefit of using "use strict" in JavaScript?

Using "use strict" prevents you from using undeclared variables.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. For more information - please visit our private policy.