index.js
function pick(obj, keys) {
  var result = {};
  for (var i = 0, length = keys.length; i < length; i++) {
    var key = keys[i];
    if (key in obj) result[key] = obj[key];
  }
  return result;
}
function pick(obj, keys) {
  var result = {};
  for (var i = 0, length = keys.length; i < length; i++) {
    var key = keys[i];
    if (key in obj) result[key] = obj[key];
  }
  return result;
}
function pick ( obj , keys ) { var result = { } ; for ( var i = 0 , length = keys . length ; i < length ; i ++ ) { var key = keys [ i ] ; if ( key in obj ) result [ key ] = obj [ key ] ; } return result ; }
Returns a copy of `obj` containing only the properties given by `keys`.
Returns a copy of obj containing only the properties given by keys .