On Sat, Aug 5, 2017 at 12:41 PM, T.J. Crowder <[email protected]> wrote:
Apologies, better proofreading required, left out the `"id"` argument:
```js
const a = [{id: "tjc", name: "T.J. Crowder"}, {id: "nc", name: "Naveen
Chawla"}, {id: "lh", name: "Lachlan Hunt"}];
const index = Object.from(a, "id");
console.log(index);
```
-- T.J. Crowder
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

