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/pickBy/pickBy.js Normal file
View File

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