I always consider that, Javascript is not an Object-Oriented Language but an Object-Based language!
In general,we simply copy property from one to another to implement 'extend'.You see ,I even do not know that is there any advantage as putting the polymorphism in Javascript!But these are the core of Object-Oriented Program Language.
So do I really need Object-Oriented JavaScript?
As we can create a object like '{}',is there need using just like following code to implementing a Singleton Mode all the same?
...
...
So I'm interested in what you will tell me in your book?
[ August 26, 2008: Message edited by: Ulf Dittmer ]