Some argue that JavaScript is not truly object oriented because it
does not provide information hiding. That is, objects cannot have
private variables and private methods: All members are public.
But it turns out
that JavaScript
objects can have private variables and private methods. (Click here now
to find out how.) Of course, few understand this because JavaScript is
the world's most misunderstood programming language.
Some argue that JavaScript is not truly object oriented because it does not
provide inheritance. But it turns out that JavaScript
supports not only classical inheritance, but other code reuse patterns as well.