Helma Logo
main list history

JavaScript Inheritance Sugar

A few days ago, I came across Dean Edward's Base Class for JavaScript Inheritance. I liked the general idea of adding syntactic sugar to JavaScript class-like inheritance. However, I think some things could be improved:

I'll describe my solution in an update to this page. For now, here's the code:

nametypesize
base2-demo.htmlundefined bytes
base2.jsundefined bytes

Links to this page: Helma 1 Compatibility Layer, JavaScript Inheritance Sugar - Lehni, Mocha Inheritance