Create a gist now

Instantly share code, notes, and snippets.

var hello = 'hello there';
function hiThere() {
var hello = 'hi there';
console.log(hello);
}
hiThere(); // Log outs hi There
console.log(hello); // Log outs hello there
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment