function extendDefaults (source, destination) {
    for (property in destination) {
        // Avoid asigning inherited properties of destination, only asign to source the destination own properties
      if (destination.hasOwnProperty(property)) {
        source[property] = destination[property]
      }
    }
    return source
  }
/**
    * Populates the source object with the value from the same keys found in destination
    */
Populates the source object with the value from the same keys found in destination
Populates the source object with the value from the same keys found in destination
function extendDefaults (source, destination) {
    for (property in destination) {
      if (destination.hasOwnProperty(property)) {
        source[property] = destination[property]
      }
    }
    return source
  }
function extendDefaults ( source , destination ) { for ( property in destination ) { if ( destination . hasOwnProperty ( property ) ) { source [ property ] = destination [ property ] } } return source }
Populates the source object with the value from the same keys found in destination
Populates the source object with the value from the same keys found in destination
// Avoid asigning inherited properties of destination, only asign to source the destination own properties