Destructuring an object into a new object (like Underscore pick but ESier)

Kevin Smith zenparsing at
Fri Feb 19 18:05:50 UTC 2016

> I can create a new object with ALL of these properties using a spread
> operator:
> let newObj = {...obj, quux: 4}
Let's not do this.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list