classes and enumerability

Gary Guo nbdd0121 at
Tue Dec 23 21:50:58 PST 2014

Object.defineProperty could easily do that.

>From: curvedmark at
>Date: Wed, 24 Dec 2014 13:33:24 +0800
>Although I guess it’s not very easy to desugar to es5 if there is no way to enumerate prototype methods/properties. (probably impossible?)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list