Travis build: 1358 [cron]
This commit is contained in:
2
test/findKey/findKey.js
Normal file
2
test/findKey/findKey.js
Normal file
@ -0,0 +1,2 @@
|
||||
const findKey = (obj, fn) => Object.keys(obj).find(key => fn(obj[key], key, obj));
|
||||
module.exports = findKey
|
||||
Reference in New Issue
Block a user