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 fromT
that are enumerated in arrayK
.