1
0

find.js 201 B

12345678
  1. 'use strict';
  2. var findKey = require('./find-key');
  3. module.exports = function (obj, cb/*, thisArg, compareFn*/) {
  4. var key = findKey.apply(this, arguments);
  5. return (key == null) ? key : obj[key];
  6. };