1
vote
1answer
203 views

How can we change/protect the namespace of an object in Javascript?

Continuing from my previous question: Javascript simple sample code to understand prototype-based OOP basics Let's say we run into console this two separate objects(even if they are called child and ...