Skip to content

Instantly share code, notes, and snippets.

@jurgob
Last active August 29, 2015 14:10
Show Gist options
  • Save jurgob/01a0a08dff6f47060d18 to your computer and use it in GitHub Desktop.
Save jurgob/01a0a08dff6f47060d18 to your computer and use it in GitHub Desktop.
function Persona(){
var nome = "jimmy";
var getNome = function(){
console.log('nome: '+nome)
}
getNome()
return getNome
}
var a = Persona();
a()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment