> var myObject = new femalePatient(37);
>
> alert(myObject.age); // alerts 42

This shows the OOP limitations of Javascript. In a real-world femalePatient
object, the age property would be unavailable. ;-)


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to