util.js 326 B

123456789101112
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.range = void 0;
  4. function range(from, to) {
  5. const list = new Array(to - from + 1);
  6. for (let i = 0; i < list.length; i += 1) {
  7. list[i] = from + i;
  8. }
  9. return list;
  10. }
  11. exports.range = range;
  12. //# sourceMappingURL=util.js.map