Even as I type this, TC39 is evaluating new proposals that add more
class features to ES. Obviously, someone out there thinks JavaScript could benefit from a little more object orientation. I agree. To that end, I’m in the process of writing v3.0 of Class.js, complete with more documentation and cleaner code. Further, there will be 2 editions of Class.js:- An ES5 compatible version (much like the original)
- A new ES6 version
class keyword and all the syntax sugary goodness that comes along with it. The core design of the ES6 version is already ready and usable, but doesn’t have support for all the bells and whistles I threw into the ES5 version… yet. I want to complete the 3.0 ES5 version first as the API will likely change there as well.I may have let this library sit still for 2 years, but it’s not dead. My goal here is to simply provide proper classical
class definitions to ES while the TC39 board tries to catch up, and all without introducing the need for any compilation/translation. I hope you find this library useful.By the way, the new version will also include a fairly extensive test script. TDD is a good thing. :)