var Employee = function(name){
this.name = name;
}
Employee.prototype ={
getName: function(){
return this.name;
},
changeName: function(value){
this.name = value;
}
}
var e = new Employee("Oliver");
console.log(e.getName());
e.changeName("Nana");