@aurigma/design-atoms-model
Version:
Design Atoms is a part of Customer's Canvas SDK which allows for manipulating individual design elements through your code.
14 lines • 393 B
JavaScript
/**
* Returns an array with elements from start value to end value.
* @param start start value
* @param end end value
* @remarks for example, range(1, 3) = [1, 2, 3]
*/
export var range = function (start, end) {
var result = [];
for (var value = start; value <= end; value++) {
result.push(value);
}
return result;
};
//# sourceMappingURL=Array.js.map