This is an anonymous function that captures some bits of its environment. In practice, this looks like a function within a larger scope getting context from the environment where the function is called.
Think about defining a helper function in a function, or a callback getting context from the scope its being called in.