.
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
export function pick(obj, keys) {
|
||||
const newObj = {};
|
||||
for (const key of keys){
|
||||
newObj[key] = obj[key];
|
||||
}
|
||||
return newObj;
|
||||
}
|
||||
|
||||
//# sourceMappingURL=pick.js.map
|
||||
Reference in New Issue
Block a user