Javascript - What is a function within parentheses? [duplicate]

0

One of these days I saw a code in javascript and I was wondering why you use parentheses to close a function:

(function(){

});

Type this code above. Thanks for any explanation.

    
asked by anonymous 15.05.2018 / 03:00

0 answers