modules/rubiconBidAdapter.js
function partitionArray(array, size) {
  return array.map((e, i) => (i % size === 0) ? array.slice(i, i + size) : null).filter((e) => e)
}
function partitionArray(array, size) {
  return array.map((e, i) => (i % size === 0) ? array.slice(i, i + size) : null).filter((e) => e)
}
function partitionArray ( array , size ) { return array . map ( ( e , i ) => ( i % size === 0 ) ? array . slice ( i , i + size ) : null ) . filter ( ( e ) => e ) }
split array into multiple arrays of defined size
@param {Array} array
@param {number} size
@returns {Array}
split array into multiple arrays of defined size