lib/modules/url.js
function copyObject(obj) {
  var ret = {}, name;
  for (name in obj) {
    if (obj.hasOwnProperty(name)) {
      ret[name] = obj[name];
    }
  }
  return ret;
}
function copyObject(obj) {
  var ret = {}, name;
  for (name in obj) {
    if (obj.hasOwnProperty(name)) {
      ret[name] = obj[name];
    }
  }
  return ret;
}
function copyObject ( obj ) { var ret = { } , name ; for ( name in obj ) { if ( obj . hasOwnProperty ( name ) ) { ret [ name ] = obj [ name ] ; } } return ret ; }
copy an object without depth
copy an object without depth