Skip to content

Instantly share code, notes, and snippets.

@santiago
Created September 22, 2011 01:38
Show Gist options
  • Select an option

  • Save santiago/1233832 to your computer and use it in GitHub Desktop.

Select an option

Save santiago/1233832 to your computer and use it in GitHub Desktop.
// No existe NINGUNA diferencia entre esto ...
var hola= function() {
var aaa= 'hola';
(function(foo) {
print foo;
})(aaa)
}
// ... y esto ...
var hola= function() {
var aaa= 'hola';
print aaa;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment