In this video look at a JavaScript function designed to add two numbers together. It seems like the function works perfectly, but a closer look reveals bad practice. Just because your code works in efficient short code, does not mean it is best practice.
0:00 what is wrong with this code?
0:17 all bad practices
0:41 optimized code