Skip to content

Instantly share code, notes, and snippets.

@BrianLitwin
Last active January 23, 2019 02:18
Show Gist options
  • Save BrianLitwin/f0b4d4411a036ec327b2983f05d72839 to your computer and use it in GitHub Desktop.
Save BrianLitwin/f0b4d4411a036ec327b2983f05d72839 to your computer and use it in GitHub Desktop.
/* what do these log ? */
var a;
console.log(a);
var n = null;
console.log(n + 2)
console.log('The value of c is ' + c);
let x;
console.log('The value of x is ' + x);
console.log('The value of b is ' + b);
var b;
var c;
console.log(c + 2)
if (true) {
let y = 5;
}
console.log(y);
if (true) {
var x = 5;
}
console.log(x)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment