function Person() {
this.name = 'saber';
this.age = '22';
Saber.prototype = Person.prototype;
}
Person.prototype.getName = function() {
conole.log(this.name);
}
Person.prototype.getAge = function() {
console.log(this.age);
}
function Saber() {
}
var a = new Person();