Previous Lecture Complete and continue  

  Always Declare Your Variables

Declaring a variable properly is an important step in making your application functional. In this video, you will understand the best ways to declare and define variables.

  • Always define your variables
  • Avoid using var in the global scope
  • Create objects in the local scope