addon/utils.js
function maybeMerge (first, second) {
  if (Object.keys(second).length > 0) {
    return Object.assign({}, first, second) // don't mutate the object
  }
  return first
}
function maybeMerge (first, second) {
  if (Object.keys(second).length > 0) {
    return Object.assign({}, first, second) // don't mutate the object
  }
  return first
}
function maybeMerge ( first , second ) { if ( Object . keys ( second ) . length > 0 ) { return Object . assign ( { } , first , second ) // don't mutate the object } return first }
Merges properties from an object into another if the second object has enumerable properties

@param {Object} first Object
@param {Object} second Object with properties to merge into the first
@returns {Object} The merged object if the second object has enumerable properties or the first
object otherwise
Merges properties from an object into another if the second object has enumerable properties