Creates a new object with only the specified keys picked from obj.
obj
The source object.
Array of keys to include.
pick({ a: 1, b: 2, c: 3 }, ["a", "c"]) // => { a: 1, c: 3 } Copy
pick({ a: 1, b: 2, c: 3 }, ["a", "c"]) // => { a: 1, c: 3 }
Creates a new object with only the specified keys picked from
obj.