range(from, to, by = 1) {
    /** @type {Array<number>} */
    const numbers = [];
    for (let i = from; i < to; i += by) {
      numbers.push(i);
    }
    return numbers;
  }
Generates an array of numbers from `from` (inclusive) to `to` (exclusive)
@param {number} from
@param {number} to
@param {number} [by]
@return {Array<number>}