The Core écrit par Dmitry Soshnikov. Named function expressions demystified. Introduction Surprisingly, a topic of named function expressions doesn’t seem to be covered well enough on the web.
Closures. Closures are functions that refer to independent (free) variables.
This article details the various ways functions may be created on the fly. Ways of defining a function There are two ways to define a function in JS...although enough many people don't know about the versatility of the common method it might be more correct to say there are three ways: The function Keyword This is by far the more common method (and far easier) method of defining a function in JS. OOP in JS, Part 2 : Inheritance.
In Part 1 we saw how to create classes in JS, including private, privileged, and public properties and methods.