I'm struggling to understand the meaning and function of this parenthesis statement. Can someone provide clarity?
function fadeOut(el){
el.style.opacity = 1;
(function fade() { <-- Is this responsible for continuous execution?
if ((el.style.opacity -= .1) < 0) {
el.style.display = "none";
} else {
requestAnimationFrame(fade);
}
})();
};