I am analyzing the following two urls from John Resig\'s site, but I am not understanding how giving a name to the anonymous function has made a difference.
My understan
In the first case, the yell method is trying to access ninja.yell, regardless of which object calls it. Whereas in the second, it tries to call yell which exists because the function is named.
It is NOT a good example. A good example would use this.yell instead of ninja.yell, thus getting the yell method from the current object.