Skip to content

Instantly share code, notes, and snippets.

@goodbedford
Created April 1, 2016 06:11
Show Gist options
  • Save goodbedford/244f4f5ca65fee957692b3a046068e21 to your computer and use it in GitHub Desktop.
Save goodbedford/244f4f5ca65fee957692b3a046068e21 to your computer and use it in GitHub Desktop.
js-intro
var a; // is undefined
var b = "name"; // is defined
console.log("A:" + a); // prints undefined
console.log("B:" + b); // prints "name"
console.log("C" + c); // ReferenceError not defined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment