Classes as Sugar -- old threads revisited

P T Withington ptw at
Tue May 26 15:08:17 PDT 2009

These two are reversed, aren't they?  The const should have the getter  
rather than the value?

On 2009-03-30, at 22:41EDT, Mark S. Miller wrote:

>        pubInstVar: {get: Object.freeze(function{return pubInstVar;}),
>                     enumerable: true},
>        pubInstConst: {value: pubInstConst,
>                       enumerable: true}

More information about the es-discuss mailing list