12 lines
326 B
JavaScript
12 lines
326 B
JavaScript
|
"use strict";
|
||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||
|
exports.range = void 0;
|
||
|
function range(from, to) {
|
||
|
const list = new Array(to - from + 1);
|
||
|
for (let i = 0; i < list.length; i += 1) {
|
||
|
list[i] = from + i;
|
||
|
}
|
||
|
return list;
|
||
|
}
|
||
|
exports.range = range;
|
||
|
//# sourceMappingURL=util.js.map
|