code: function extend(){
          for(var i = 1; i < arguments.length; i++)
              for(var k in arguments[i])
                  if(arguments[i].hasOwnProperty(k))
                      arguments[0][k] = arguments[i][k];
          return arguments[0];
      }
docs: Common