Setting a custom property with DontEnum
If I create: Object.prototype.count = function() {}; var m = {prop: 1}; for(var i in m) window.status += i + ", "; in the code above i contains also count inherited by its prototype. Now I want to know if there is a way to set a custom property as the flag DontEnum (it is not settable for custom property) so it will not be enumer...