var width = 100;
let height = 200;
const key = "Tech Talks";
- The scope of a variable defined with the keyword “var” is limited to the “function” within which it is defined.
- If it is defined outside any function, the scope of the variable is global.