Edit in JSFiddle

var Person = function(){}; //create Person constructor

Person.prototype.type = 'person'; //add inherited type property

var cody = new Person(); //create instance of Person

delete cody.type //delete type

console.log(cody.type) //logs person, becuase you can't delete inherited properties