qcobjects
Version:
QCObjects is an Open-source framework that empowers full-stack developers to make micro-services and micro-frontends into an N-Tier architecture.
16 lines (13 loc) • 364 B
text/typescript
import { _protected_code_ } from "./introspection";
export const range = (start: number, stop = 0, step = 1): number[] => {
if (stop === 0 || typeof stop === "undefined") {
stop = start;
start = 0;
}
return Array.from({
length: (stop - start) / step + 1
}, function (_, i) {
return start + (i * step);
});
};
(_protected_code_)(range);