code: function extend(dest, source){
      for (var key in source)
        dest[key] = source[key];
  
      return dest;
    }
docs: Copy all properties from source (object) to destination object.
  @param {object} dest Object should be extended.
  @param {object} source
  @return {object} Destination object.