After reading Douglas Crockford’s for in Intrigue, I could help but write this function:
Object.prototype.hasOwnProperty = Object.prototype.hasOwnProperty || function(prop) {
return this[prop] !== arguments.callee;
};
It’s useless in its own recursive way.
Oh yeah, and it’s also still verboten.
Yep. Still verboten.
Comment by Dean Edwards [Visitor] — September 26, 2006 @ 4:02 pm