summaryrefslogtreecommitdiffstats
path: root/node_modules/request/lib/copy.js
blob: 56831ff80f938cfc96f8dda8378048e05555c1a9 (plain)
1
2
3
4
5
6
7
8
module.exports =
function copy (obj) {
  var o = {}
  Object.keys(obj).forEach(function (i) {
    o[i] = obj[i]
  })
  return o
}