function Obj() {} Obj.prototype.foo = 5; var obj = new Obj; alert(obj.foo); delete obj.foo; alert(obj.foo);