var o = {}; // Creates a new object
Example of an object property added with defineProperty
with a data property descriptor
Object.defineProperty(o, "a", {value : 37,
writable : true,
enumerable : true,
configurable : true});
How to implement for IE7-8?(with attributes writable,enumerable,configurable)