Ok, noob question here and I'm sure its been answered somewhere, but I can't seem to find it.
I inherited an app to update and the previous coder had an anonymous function which and '(jQuery)' is just stuck on the end. It's giving me an error and nothing seems to change when I comment it out. What is it supposed to do? I'm using VS 2019 and I don't see anything which defines it.
Here is a brief code sample:
(function($){ pretty much vanilla code here... })(jQuery)
thanks!