function object(obj, fn, ctx) {
  for (var key in obj) {
    if (has.call(obj, key)) {
      fn.call(ctx, key, obj[key]);
    }
  }
}
Iterate object keys.

@param {Object} obj
@param {Function} fn
@param {Object} ctx
@api private