src/components/LeagueComparisonCard.js
/**
 * Returns a list of numbers from start to end. Adjacent numbers in the list are
 * interval apart.
 **/
Returns a list of numbers from start to end. Adjacent numbers in the list are
interval apart.
Returns a list of numbers from start to end . Adjacent numbers in the list are interval apart .
function range(start, end, interval) {
  let numbersList = [];
  if (end < start) {
  	return numbersList;
  }
  let number = start;
  while(number <= end) {
    numbersList.push(number);
    number = number + interval;
  }
  return numbersList;
}
function range ( start , end , interval ) { let numbersList = [ ] ; if ( end < start ) { return numbersList ; } let number = start ; while ( number <= end ) { numbersList . push ( number ) ; number = number + interval ; } return numbersList ; }
Returns a list of numbers from start to end.
Returns a list of numbers from start to end .