• JavaScript object system

    This is a short but dense introduction into some advanced JavaScript features: objects, functions, closures, the meaning of the this keyword, culminating with the implementation of some “macros” that make it more enjoyable to do object oriented programming in JavaScript.  “Macros” are programs that write programs.  To some extent this is possible in JavaScript (although it doesn't provide “real” macros) and this article shows you how to do it.