Level: Introductory to Intermediate
Discuss the top 10 common JavaScript headaches, mistakes, or quirks you just need to know as well as how you can avoid them.
JavaScript can be a passive-aggressive and fickle language that frustrates you at every turn! It lets you do things like declare variables wherever you want but doesn't tell you that it will hoist them while you're not looking. JavaScript's this keyword is anything but, and eval can turn good code to evil fast. In this session, we will discuss the top 10 common JavaScript headaches, mistakes, or quirks you just need to know as well as how you can avoid them. Learn what can trip you, like the this keyword, JavaScript scoping, evil Eval, and the use of the With statement (VB devs beware!). Alongside those gotchas is the fact that not all equality operators are created equal and how the innocent looking parseInt() causes farce parses. This session will dig into all these language quirks and more!
You will learn:
- About JavaScript oddities
- Common JavaScript coding mistakes
- JavaScript efficiencies