function roundMatchCounts({ drawSize }) {
  const rounds = Math.ceil(Math.log(drawSize) / Math.log(2));
  const range = generateRange(0, rounds).reverse();
  return range.map((r) => Math.pow(2, r));
}
// returns an array of the number of matchUps in each round of an elimination draw
returns an array of the number of matchUps in each round of an elimination draw
returns an array of the number of matchUps in each round of an elimination draw
function roundMatchCounts({ drawSize }) {
  const rounds = Math.ceil(Math.log(drawSize) / Math.log(2));
  const range = generateRange(0, rounds).reverse();
  return range.map((r) => Math.pow(2, r));
}
function roundMatchCounts ( { drawSize } ) { const rounds = Math . ceil ( Math . log ( drawSize ) / Math . log ( 2 ) ) ; const range = generateRange ( 0 , rounds ) . reverse ( ) ; return range . map ( ( r ) => Math . pow ( 2 , r ) ) ; }
returns an array of the number of matchUps in each round of an elimination draw
returns an array of the number of matchUps in each round of an elimination draw