Re:Zen and the art of statefulness
by skilldrick on Monday February 14, 2011 @06:57PM
(#2219322)
The point of an IIFE is that it is immediately invoked, i.e.: `(function () { })()` - the outer function is used to return the inner function at that point. So you're returning the inner function, and it's this function, a closure, that is returned.
I'm not sure what's iffy about the terminology here...
I'm not sure what's iffy about the terminology here...