alex at weej.com
Wed Jun 15 22:50:22 UTC 2016
Question is why would you actually want this when you have `Map`?
I consider all of the 'get some arbitrary subset of properties from an
object' use cases obsoleted by `Map`. But maybe I'm missing something
obvious or not-so-obvious...?
On Wednesday, 15 June 2016, doodad-js Admin <doodadjs at gmail.com> wrote:
> 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...
More information about the es-discuss