Understanding Anonymous Functions

First of, thanks for the break down.

What good is a ! in front of it?

You mean by executing it immediately as in wrapping it in () with a pair of () following behind it? Precise clarity please

but by the variable being in a function in the first place already make it a local variable.