How would I create an instance method with private variables?
===

I am working through "JavaScript Web Applications" an want to append the class library I created. Here is the fiddle http://jsfiddle.net/andrewjmead/gXMp8/. Right now it works, but I remember hearing it is best to avoid using \_\_proto\_\_ in your code. I am currently using this to create functions to manipulate private variables.

Right now the Cat class inherits from the Animal class. I want to add a private variable "name" in the constructor for cat and then create a getName and setName to manipulate this value for each instance.

    Var tom = Cat("tom");
    tom.setName("fud");
    tom.getName(); //fud

 Should I be using this.getName() instead of this.__proto__.getName(), or am I wrong altogether?