Как переопределить приватную переменную в JavaScript?

// base function
function Man(name) {
  // private property
  var lover = "simron";
  // public property
  this.wife = "rocy";
  // privileged method
  this.getLover = function(){return lover};
  // public method
  Man.prototype.getWife = function(){return this.wife;};
}

// child function
function Indian(){
  var lover = "jothika"; 
  this.wife = "kamala";
}

Indian.prototype = aMan;
var aMan = new Man("raja");
oneIndian = new Indian();
oneIndian.getLover();

Я получил ответ какsimron» но я ожидаюjothika».

Насколько мое понимание неверно?

Спасибо за любую помощь.

Ответы на вопрос(3)

Ваш ответ на вопрос