include node modules

This commit is contained in:
Opportunity
2019-09-30 17:55:21 +08:00
Unverified
parent cf5188b310
commit 7c2a9b6f1c
371 changed files with 74540 additions and 1 deletions
+8
View File
@@ -0,0 +1,8 @@
export function omit(object, keysToOmit) {
return Object.keys(object)
.filter(option => !keysToOmit.includes(option))
.reduce((obj, key) => {
obj[key] = object[key];
return obj;
}, {});
}