Travis build: 1323 [cron]

This commit is contained in:
30secondsofcode
2018-01-19 20:10:17 +00:00
parent 17abe97036
commit ad0bcbd70a
20 changed files with 309 additions and 96 deletions

5
test/omit/omit.js Normal file
View File

@ -0,0 +1,5 @@
const omit = (obj, arr) =>
Object.keys(obj)
.filter(k => !arr.includes(k))
.reduce((acc, key) => ((acc[key] = obj[key]), acc), {});
module.exports = omit