function extend(destination, source) {
  for (var k in source) {
    if (source.hasOwnProperty(k)) {
      destination[k] = source[k];
    }
  }
  return destination; 
}
// further study on the extend object function for native JS, another way to extend objects by merging them with other objects.
further study on the extend object function for native JS, another way to extend objects by merging them with other objects.
further study on the extend object function for native JS another way to extend objects by merging them with other objects .
function extend(destination, source) {
  for (var k in source) {
    if (source.hasOwnProperty(k)) {
      destination[k] = source[k];
    }
  }
  return destination; 
}
function extend ( destination , source ) { for ( var k in source ) { if ( source . hasOwnProperty ( k ) ) { destination [ k ] = source [ k ] ; } } return destination ; }
further study on the extend object function for native JS, another way to extend objects by merging them with other objects.
further study on the extend object function for native JS another way to extend objects by merging them with other objects .