Category Archives: Javascript

Functional inheritance in Javascript.

In his book “JavaScript the good parts”, Crockford introduced a new pattern of inheritance: functional inheritance. The idea is to use closure to make private fields, and to use privileged functions to access to these fields. Here, we will use … Continue reading

Posted in ECMAScript, Javascript | Tagged | Leave a comment