What is the exact difference between these two lines of code.
var functionOne = (function(){})();
and
var functionTwo = (function(){}());
I've noticed that both were being used while looking through js Module pattern, but i'd like to know what is exact difference between them.