, recursive next() ?
, next ( })(); // immediately call wrapper function), ( - JavaScript ), next , . (next();) , next next.
AFAIU, " " , this .
next , , ( next , undefined , JavaScript, , var - ).
( ( , ): ( " " ) , next, var, . , var, , , , next , var , ( this, ).)
, ?
: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Closures
UPDATE
:
JavaScript...
- ( )
var, undefined ( ) ( , , ) , , ( ). , window.myFunc = function () {};. -
var function myName () {}, . var, , , , . - ,
var, , , myGlobal = function () {};, ( # 1 ) " " , .