Re: Making properties of a class unenumerable

On 5/28/14, 10:05 AM, Anne van Kesteren wrote:
> In order to get the same enumeration as before, we'd need to mark all
> members of the object as [[Enumerable]] false.

Specifically, we'd need to mark the methods on Storage.prototype as not 
enumerable.

This is how built-in methods generally behave in ES.  This is not how 
class-defined methods behave in ES6, as far as I can tell.

-Boris

Received on Wednesday, 28 May 2014 16:41:49 UTC