Animal={
clone: function(type){var o=Object.create(this); if(type)o.type=type; return o},
run: function(){alert(this.type+" is running")}
}
Beaver=Animal.clone("Beaver")
Deer=Animal.clone("Deer")
beaver=Beaver.clone()
deer=Deer.clone()
beaver.run()
deer.run()