Given and object T, returns a new object containing only the properties from T that are enumerated in array K.
T
K
Given and object
T, returns a new object containing only the properties fromTthat are enumerated in arrayK.