function pairs(object) {
    var index = -1,
        props = keys(object),
        length = props.length,
        result = Array(length);

    while (++index < length) {
      var key = props[index];
      result[index] = [key, object[key]];
    }
    return result;
  }
Creates a two dimensional array of an object's key-value pairs,
i.e. `[[key1, value1], [key2, value2]]`.

@static
@memberOf _
@category Objects
@param {Object} object The object to inspect.
@returns {Array} Returns new array of key-value pairs.
@example

_.pairs({ 'barney': 36, 'fred': 40 });
// => [['barney', 36], ['fred', 40]] (property order is not guaranteed across environments)