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...?
Cheers Alex On Wednesday, 15 June 2016, doodad-js Admin <dooda...@gmail.com> wrote: > 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 >
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss