code: function(target, obj){
        for (var attr in obj) {
          if(obj.hasOwnProperty(attr)){
            target[attr] = obj[attr];
          }
        }
        return target;
      }
docs: Merge Object 1 and Object 2. Properties from Object 2 will override properties in Object 1. Returns Object 1