redefine.js - A Simplified ES5 Approach

Andrea Giammarchi andrea.giammarchi at
Sat Jan 19 22:41:46 PST 2013

OK, if you prefer a list of HOWTO that compares redefine.js and ES5
approach, included problems with inheritance, here a more technical face 2
face approach:

Thanks in advance for any feedback or question about it.

On Sat, Jan 19, 2013 at 1:33 PM, Andrea Giammarchi <
andrea.giammarchi at> wrote:

> not only "Security Demands Simplicity", but development demands simplicity
> too :-)
> I don't remember who asked me to show a simplified approach to ES5
> descriptors, Object.create, defineProperty, and defineProperties, but here
> a tiny library which aim is to make developers life easier, the usage of
> defaults for grouped type of descriptors, and the fact it does not break if
> some evil code redefine some Object.prototype.writable/configurable
> property in the global scope.
> I'd appreciate any sort of feedback when and if you have time and please
> do not hesitate to ask me more, if necessary, thanks.
> Best Regards,
>     Andrea Giammarchi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list