> Here is a proposal for minimalist JavaScript classes that enable behavior
> that JavaScripters today desire (as evidenced by libraries and languages
> galore), without adding any new semantics beyond what already exists in ES3.
>
> https://gist.github.com/1329619
I like the philosophy behind it (as stated at the end of the file).
Question: If the RHS can be any expression, e.g.
class Student objectContainingStudentProperties
Would extends work, too?
class Student extends Human objectContainingStudentProperties
That could be a problem (grammatically) if Human could also be replaced by any
expression.
What is your take on object exemplars?
Axel
--
Dr. Axel Rauschmayer
[email protected]
home: rauschma.de
twitter: twitter.com/rauschma
blog: 2ality.com
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss