15 Common mistakes that every new JavaScript
programmer does
1. Truthy And Falsy Values
2. Ternary Operator
3. Equality Check
4. Addition and Concatenation
5. Using variable as key in object
6. Incorrect references to this
7. Thinking there is block-level scope
8. Creating memory leaks
9. Confusion about equality
10. Inefficient DOM manipulation
11. Incorrect use of function definitions inside
for loops
12. Failure to use “strict mode”
13. Providing a string as the first argument to
setTimeout or setInterval
14. Creating incorrect references to instance
methods
15. Undefined != null