# var and let

# Statements and Semi-Colons in JavaScript
Semi-colons are used to terminate the line of code in JavaScript
var first = "wes"; // variable declaration statement
console.log(first); // function call statement
# Code Blocks
Code blocks are things that are bound by these curly brackets { and }.
# var
1- If you use var outside of a function, it belongs to the global scope.
2- If you use var inside of a function, it belongs to that function.
3- If you use var inside of a block, i.e. a for loop, the variable is still available outside of that block.