index.js
function (objSrc, objDest) {
          if (_.isObject(objDest)) {
            Object.getOwnPropertyNames(objDest).forEach(function (index) {
              if (_.isObject(objDest[index])) {
                objDest[index] = _recurseExtend(objSrc[index], objDest[index]);
              }
              else {
                objDest[index] = objSrc && objSrc[index] ? objSrc[index] : '';
              }
            });
          }
          return _.cloneDeep(objDest);
        }
function (objSrc, objDest) {
          if (_.isObject(objDest)) {
            Object.getOwnPropertyNames(objDest).forEach(function (index) {
              if (_.isObject(objDest[index])) {
                objDest[index] = _recurseExtend(objSrc[index], objDest[index]);
              }
              else {
                objDest[index] = objSrc && objSrc[index] ? objSrc[index] : '';
              }
            });
          }
          return _.cloneDeep(objDest);
        }
function ( objSrc , objDest ) { if ( _ . isObject ( objDest ) ) { Object . getOwnPropertyNames ( objDest ) . forEach ( function ( index ) { if ( _ . isObject ( objDest [ index ] ) ) { objDest [ index ] = _recurseExtend ( objSrc [ index ] , objDest [ index ] ) ; } else { objDest [ index ] = objSrc && objSrc [ index ] ? objSrc [ index ] : '' ; } } ) ; } return _ . cloneDeep ( objDest ) ; }
Merge recursively objDest into objSrc
Merge recursively objDest into objSrc