Suggestion: Object.symbols

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



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. 




Claude Petit

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list