jaredatch/Custom-Metaboxes-and-Fields-for-WordPress — Issue #77: Add 'use strict'; inside script functions
Author: GaryJones
Created: 2011-12-31 17:58:05+00:00
State: open

It's good practice to identify scripts, that don't use dodgy practices, to browsers so that they can use the strict modes - these parsers tend to perform better since they don't have to accommodate for poorly written scripts.

A quick search will tell you which browsers currently support strict mode for scripts.

As it's just an addition of a string, those browsers which don't support it just ignore it, so its completely backwards compatible.

```
function foobar() {
...
}
```
would become:

```
function foobar() {
'use strict';
...
}
```