> Symbols are enumerable by default just like normal properties. Object.assign 
> skips non-enumerable Symbols. Object.defineProperty can be used to create a 
> non-enumerable Symbol, but I believe that only impacts Object.assign (and 
> specific enumerability methods, obv).

That’s exact. 

 

 

That’s not something critical, but “Object.symbols” looks like missing from the 
language.

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

Reply via email to