Deadly sins of javascript implementation

Javascript bad practices

1. Using global variabes, functions and DOM level-1 event handlers unappropriately Global variables and function defined in one script can be overwritten by second script if it has same names. This might cause unexpected results. Therefore, we should be careful while using global variables or functions or event handlers. Every... [Read More]