I have a general question on the practical usage of javascript's ecmascript 5 methods.
e.g.
Object.defineProperties(obj, value, config)
to my knowledge javascript is the driver on the front-end web application. There isn't really a lot of usage in defining variable constant? I can see how enumerable might come in handy if you were to classify attributes. But why is defineProperty so verbose?
and for getters and setters... who would want to hide this functionality inside ecmascript 5, if some old browser runs ecma3, the getter function might not even occur. Why not just use a plain getter function to achieve the same? rather than risking behavior?