It doesn't clutter the properties or the
prototype aside from a single method which is
extends, and even this method is sugar and not required!
zoo.js for an in-depth example of how to use
Class. No matter how deep down the rabbit hole you go, it should keep references so you can do
instanceof checks on children of a parent of a grand-parent and so forth.
Zoo.js Instance Graph
Here we can see that you still have
<anon>() methods (don't worry, the reference to do
instanceof checks still exists, the naming just looks bad when graphed) which is hard to get around when sugaring the
prototype syntax. Trust me, I tried to avoid it.
If you can find a simpler way, let me know and I'll update it.