Skip to content

Instantly share code, notes, and snippets.

@ADelRosarioH
Created April 1, 2014 01:06
Show Gist options
  • Save ADelRosarioH/9905794 to your computer and use it in GitHub Desktop.
Save ADelRosarioH/9905794 to your computer and use it in GitHub Desktop.
// trying to confuse my mind (and i think i made it jeje!)
(function(moom){
moom('moom');
moom.moomoom = function(moom){
return moom(moom);
};
moom.moomoom(function(moom){
moom(function(){
console.log('moom');
});
});
return function(moom){
return moom('moom');
};
})(function(moom){
console.log(moom);
})(function(moom){
console.log(moom);
});
var boom = function(){
console.log('BOOM!');
};
boom.boomboom = function(){console.log('BOOOOOOOOMMMMM!')};
boom();
boom.boomboom();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment