Suggestion: Object.symbols

doodad-js Admin doodadjs at gmail.com
Wed Jun 15 22:26:03 UTC 2016


Hi,

 

There is "Object.keys" for enumerable-only own property names of an object,
and "Object.getOwnPropertyNames" for enumerable and non-enumerable own
property names of an object. Now we have "Object.getOwnPropertySymbols"
which returns enumerable and non-enumerable own symbols of an object, but we
are missing a function "Object.symbols" that returns enumerable-only own
symbols of an object. 

 

Thanks,

 

Claude Petit

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


More information about the es-discuss mailing list