Last active
January 23, 2019 02:18
-
-
Save BrianLitwin/f0b4d4411a036ec327b2983f05d72839 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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