I looked around for how to use the Object.defineProperty method, but couldn\'t find anything decent.
Someone gave me this snippet of code:
Object.def
Object.defineProperty() is a global function..Its not available inside the function which declares the object otherwise.You'll have to use it statically...