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
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