Mathew Robertson skrev:
All this talk over JavaScript not supporting classes, is incorrect. I put together a
little demo of classical "class-based" inheritence.
The only real limitation is that you can't do "protected members" and "friends"
and the syntax might be considered to be a little clu
> > http://members.optusnet.com.au/~mathew/js/
> >
> > I hope this helps clear things up a bit.
>
> That's support for classes in the same way C has support for classes
> though - you can design them on top of the language, but you don't get
> support for it for ordinary language elements or for
2008/10/28 Mathew Robertson <[EMAIL PROTECTED]>:
> All this talk over JavaScript not supporting classes, is incorrect. I put
> together a little demo of classical "class-based" inheritence.
>
> The only real limitation is that you can't do "protected members" and
> "friends" and the syntax might
All this talk over JavaScript not supporting classes, is incorrect. I put
together a little demo of classical "class-based" inheritence.
The only real limitation is that you can't do "protected members" and "friends"
and the syntax might be considered to be a little clunky.
http://members.optu