JavaScript: to use strict or not use strict


i'm putting js & jquery single external file.

dw's code linting telling me include use strict directives.

can explain pros & cons?

 

nancy o.

great see combining js files, saves lot of to-ing , fro-ing , speed process up.

 

as far 'strict' concerned, liken html , xhtml former allowed bit of leeway in our code.

 

the rules have placed upon myself:

  • leave code 3rd party is
  • include 'strict' in coding

 

this do, maybe others have different ideas.



More discussions in Dreamweaver support forum


adobe

Comments

Popular posts from this blog

Illustrator CS6 Ocurrío un error E/S en el archivo.

Why is os_ViewContainer running?

Animate - problem with duplicating scripts after loop