var forOwn = require('./forOwn')

function reject (obj, fn) {
  var result = {}
  var key

  forOwn(obj, function (val, key) {
    if (!fn(obj[key], key, obj)) result[key] = obj[key]
  })

  return result
}

module.exports = reject

@@ -76,18 +76,8 @@
 = %7B%7D
-%0A  var key
 %0A%0A  

update object/reject — remove un-used variable