Created
January 21, 2016 23:45
-
-
Save ggauravr/046a90b1585e16e19708 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
(function() { | |
'use strict'; | |
console.log(typeof someVariable); // prints "undefined" | |
console.log(typeof anotherVariable); // also prints "undefined" | |
var someVariable; | |
var anotherVariable = "Defined"; | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment