Skip to content

Instantly share code, notes, and snippets.

@codeangler
Created May 21, 2016 03:10
Show Gist options
  • Save codeangler/e57b5e4c9ae8cee0de3a369d05386480 to your computer and use it in GitHub Desktop.
Save codeangler/e57b5e4c9ae8cee0de3a369d05386480 to your computer and use it in GitHub Desktop.
https://repl.it/CT42/1 created by codeangler
var favouriteColor = "green";
function showColor() {
console.log(favouriteColor);
}
showColor();
Native Browser JavaScript
>>> green
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment