>Far more powerful: It gives you even more possibilities, that is true. Monkeypatching (assigning functions to specific instances as "methods" allows some interesting things - but "more OO" ? You can/have to define your own object description pattern - is that what you mean ?
Another cool feature about Javascript is the automatic type coercion, which makes it 'untyped' rather than 'loosely typed'.
For example, whenever you need to know if an object has a property or method, you don't need Pemstatus() or equivalent, you just code:
if(myObject.method){ // myObject.method automatically coerces to a Boolean
myObject.method();
}
Thierry Nivelet
FoxinCloud
Give your VFP application a second life, web-based, in YOUR cloud
http://foxincloud.com/Never explain, never complain (Queen Elizabeth II)