jphuttun / eris

Eris
0 stars 0 forks source link

Use strict mode #28

Open pahuttun opened 10 years ago

pahuttun commented 10 years ago

Javascript has mode called "use strict";

All our .js -files should start with that declaration.

What it does: It causes many javascript stupidities to become errors. It is easier to fix exception than debug why the hell program doesn't work because there is typo in your line and javascript doesn't notify you with errors

It might cause some current code to break so we have to fix them after that