I am new to JavaScript and I am trying to understand why a variable declaration ends with "()": "var counter = ( ..... )();". If "()" are removed, it does not work but, what is their purpose? What do they tell JavaScript to do?
Se the code in this link.
https://www.tutorialsteacher.com/codeeditor?cid=oojs-64
Thanks!