Object.prototype.get & bye bye Object.defineProperty

Andrea Giammarchi andrea.giammarchi at gmail.com
Thu Nov 29 13:14:58 PST 2012


that's actually cool, but you suffer same problem? :-)

desc.enumerable = 'get' in desc;


On Thu, Nov 29, 2012 at 1:07 PM, Brandon Benvie
<brandon at brandonbenvie.com>wrote:

> Here's a place I've made use of it, note Descriptor and Descriptors.
> https://github.com/Benvie/benvie.github.com/blob/master/client/modules/site/introspect.js#L221
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20121129/05f0fbea/attachment.html>


More information about the es-discuss mailing list