When to "use strict" in Javascript?

I would be grateful for your lessons learned from experience when, when and when NOT, "use strict" in Javascript.

IMHO, "use strict" is good in server-side javascript code , but not on the client side , because not all (even modern) browsers support this function. Correctly?

+3
source share
2 answers

Read this john resig in strict mode

"use strict"; It is just as important in client-side JavaScript programming as it is in the server.

, , .., , .

"use strict"; mode. , , , . , , , , .

+2
, . .

, .

        Internet Explorer = v10,v11
        Firefox           = v4.0 +
                **Webkit** 
        Chrome            = v13.0 +
        Opera             = v11.6 +
        Safari            = v6.0 + 

: http://caniuse.com/use-strict

-1

All Articles