转载地址:http://dmitrysoshnikov.com/ecmascript/chapter-5-functions/
Introduction
In this article we will talk about one of the general ECMAScript objects — about functions. In particular, we will go through various types of functions, will define how each type influencesvariables object of a context and what is contained in the scope chain of each function. We will answer the frequently asked questions such as: “is there any difference (and if there are, what are they?) between functions created as follows:
var foo = function () {
...
};