Pick Keys

Objects ยท medium

Implement `pick(obj, keys)` returning a new object with only the entries whose key is in `keys` and present in `obj`, in the order given by `keys`.

Learning resources

Loading...

Run your code to see results.