请问以下JS代码输出的结果是什么?
class father {
constructor() {
this.name = 'Jhon';
}
getNum() {
console.log(117);
}
name() {
console.log('Emir');
}
};
const son = new father();
son.getNum();
father.prototype.getNum = function() {
console.log(935);
}
son.getNum();
son.name(); 