Object.getOwnPropertyDescriptor
suggest changeGet the description of an specific property in an object.
var sampleObject = {
hello: 'world'
};
Object.getOwnPropertyDescriptor(sampleObject, 'hello');
// Object {value: "world", writable: true, enumerable: true, configurable: true}
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents