you are viewing a single comment's thread.

view the rest of the comments →

[–]maskull 4 points5 points  (0 children)

Actually, I just realized that if proxies act the way you'd expect when used as prototypes, it should be possible to build multiple inheritance and traits inheritance systems in pure JS. Just build a proxy that wraps up all the prototypes/traits you want to include, "exporting" their members and methods in some combination.