In the following code I know adding () at the end of the Function makes it a self invoking function.
However I don't understand if passing "socialMedia" which is an object is being passed as a parameter or for some other reason.
var social = function(){
}(socialMedia);