Object.defineProperty(Object.prototype, 'prop1', {enumerable: true,value: 'bla1'}) Object.defineProperty(Object.prototype, 'prop2', {enumerable: false,value: 'bla2'}) for (var prop in Object.prototype) alert(prop);