JavaScript anonymous functions, weird or callbacks to the future?

This whole javascript anonymous function is just odd isn't it?  Like that beautiful women who goes out with that guy who is uglier then even me.  But maybe not that strange.  Where did it come from.

Well as usual I checked with the Ecmascript standard 262 and searched for anonymous functions, nothing came up.  Does this mean that it shouldn't be used?  No.

Then I begin to think about anonymous functions in C# and what they do.  Here is what one of the things that they can do: Call another function and then continue processing till that function completes it's operation and passes pack information.

But now, the problem becomes this: How does the system know that the function is done, or what it promises to return.

More later on that.