Hello! Explain, please, the functional expression on the topic "closures, scope":
return function () {
alert (x);
};
})(i); </pre> To create a function, you need to declare it, in curly brackets, what it does is described: return function () {code} (i). How to understand the variable i in brackets at the end?