Sometimes its best to keep things quick.
Object.create(Person.prototype) is pretty simple, but what if we want an inheriting object to overwrite some properties as well as methods? By creating a new object from another’s
prototype, you are only inheriting methods, unless you just don’t care and put all your data in an object’s
So lets keep things simple, quick, and a little dirty. Use
$.extend directly onto the created instance to create an inheritance chain. If jQuery is not your cup of tea,
_.extend, or any generic object extending function will work.
new Guy() instanceof Person === true? Of course not. Did I say it was quick and dirty? Yes.