Skip to content

Instantly share code, notes, and snippets.

@ggauravr
Created January 21, 2016 23:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ggauravr/e636641166ded2bc85ab to your computer and use it in GitHub Desktop.
Save ggauravr/e636641166ded2bc85ab to your computer and use it in GitHub Desktop.
(function() {
'use strict';
var someVariable = undefined;
var anotherVariable = undefined;
console.log(typeof someVariable); // prints "undefined"
console.log(typeof anotherVariable); // also prints "undefined"
anotherVariable = "Defined";
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment