analytics.js
function objectKeys(target, pred) {
  pred = pred || has;
  var results = [];


  for (var key in target) {
    if (pred(target, key)) {
      results.push(String(key));
    }
  }

  return results;
}
function objectKeys(target, pred) {
  pred = pred || has;
  var results = [];


  for (var key in target) {
    if (pred(target, key)) {
      results.push(String(key));
    }
  }

  return results;
}
function objectKeys ( target , pred ) { pred = pred || has ; var results = [ ] ; for ( var key in target ) { if ( pred ( target , key ) ) { results . push ( String ( key ) ) ; } } return results ; }
Returns an array of all the owned

@name objectKeys
@api private
@param {*} target
@param {Function} pred Predicate function used to include/exclude values from
the resulting array.
@return {Array}
Returns an array of all the owned