Suggestion: Object.symbols

doodad-js Admin doodadjs at gmail.com
Thu Jun 16 19:30:34 UTC 2016


> 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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20160616/d88516fb/attachment.html>


More information about the es-discuss mailing list