Skip to content

Instantly share code, notes, and snippets.

@andrei-cacio
Last active January 13, 2017 11:40
Show Gist options
  • Save andrei-cacio/3b9952b1811dc24aceb76461fbba9fe5 to your computer and use it in GitHub Desktop.
Save andrei-cacio/3b9952b1811dc24aceb76461fbba9fe5 to your computer and use it in GitHub Desktop.
What will log? Part I
var people = (function() {
var people = [];
render();
function render() {
var people = people;
console.log(people);
}
}())
@andrei-cacio
Copy link
Author

yes @ionelh, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment