For some reason Visual Studio javascript formatting does not understand the syntax:
(function(){
})();
I'm getting "expected expression" in the second character of this line: })();
So I was wondering if anyone had this problem before (want to format their code but visual studio stubbornly thinks the valid code has an error and refuses to do so) and how do we solve it?