« Return to Thread: Classes as Sugar -- old threads revisited

Re: Classes as Sugar -- old threads revisited

by P T Withington :: Rate this Message:

Reply to Author | View in Thread

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}

_______________________________________________
es-discuss mailing list
es-discuss@...
https://mail.mozilla.org/listinfo/es-discuss

 « Return to Thread: Classes as Sugar -- old threads revisited