Código Javascript:
Siempre retorna 'original' Ver original
function employee(name,jobtitle,born){ this.name=name; this.jobtitle=jobtitle; this.born=born; this.callme = function(){ return 'original'; } } employee.prototype.callme= function(){ return 'alternativo'; } var fred=new employee("Fred Flintstone","Caveman",1970); fred.callme()