dist/umd/deparam.js
/**
     * Converts an array to an object
     * @param {array} arr 
     */
Converts an array to an object
@param {array} arr
Converts an array to an object @param { array } arr
function toObject(arr) {
      var convertedObj = {};
      if (isArr(arr)) {
        arr.forEach(function (value, index) {
          convertedObj[index] = value;
        });
      }
      return convertedObj;
    }
function toObject ( arr ) { var convertedObj = { } ; if ( isArr ( arr ) ) { arr . forEach ( function ( value , index ) { convertedObj [ index ] = value ; } ) ; } return convertedObj ; }
Converts an array to an object
 @param {array} arr
Converts an array to an object @param { array } arr