Files
pezkuwi-mobile-app/frontend/.metro-cache/cache/ec/109be7393b94500e1a3528f2db2e5c888ca4a920d632e727d5b45c7fee85fb7e807cda
T
2025-10-24 02:48:32 +00:00

1 line
2.4 KiB
Plaintext

{"dependencies":[],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n \"use strict\";\n\n Object.defineProperty(exports, '__esModule', {\n value: true\n });\n exports.arrayRange = arrayRange;\n /**\n * @name arrayRange\n * @summary Returns a range of numbers ith the size and the specified offset\n * @description\n * Returns a new array of numbers with the specific size. Optionally, when `startAt`, is provided, it generates the range to start at a specific value.\n * @example\n * <BR>\n *\n * ```javascript\n * import { arrayRange } from '@polkadot/util';\n *\n * arrayRange(5); // [0, 1, 2, 3, 4]\n * arrayRange(3, 5); // [5, 6, 7]\n * ```\n */\n function arrayRange(size, startAt = 0) {\n if (size <= 0) {\n throw new Error('Expected non-zero, positive number as a range size');\n }\n const result = new Array(size);\n for (let i = 0; i < size; i++) {\n result[i] = i + startAt;\n }\n return result;\n }\n});","lineCount":33,"map":[[7,2,16,0,"exports"],[7,9,16,0],[7,10,16,0,"arrayRange"],[7,20,16,0],[7,23,16,0,"arrayRange"],[7,33,16,0],[8,2,1,0],[9,0,2,0],[10,0,3,0],[11,0,4,0],[12,0,5,0],[13,0,6,0],[14,0,7,0],[15,0,8,0],[16,0,9,0],[17,0,10,0],[18,0,11,0],[19,0,12,0],[20,0,13,0],[21,0,14,0],[22,0,15,0],[23,2,16,7],[23,11,16,16,"arrayRange"],[23,21,16,26,"arrayRange"],[23,22,16,27,"size"],[23,26,16,31],[23,28,16,33,"startAt"],[23,35,16,40],[23,38,16,43],[23,39,16,44],[23,41,16,46],[24,4,17,4],[24,8,17,8,"size"],[24,12,17,12],[24,16,17,16],[24,17,17,17],[24,19,17,19],[25,6,18,8],[25,12,18,14],[25,16,18,18,"Error"],[25,21,18,23],[25,22,18,24],[25,74,18,76],[25,75,18,77],[26,4,19,4],[27,4,20,4],[27,10,20,10,"result"],[27,16,20,16],[27,19,20,19],[27,23,20,23,"Array"],[27,28,20,28],[27,29,20,29,"size"],[27,33,20,33],[27,34,20,34],[28,4,21,4],[28,9,21,9],[28,13,21,13,"i"],[28,14,21,14],[28,17,21,17],[28,18,21,18],[28,20,21,20,"i"],[28,21,21,21],[28,24,21,24,"size"],[28,28,21,28],[28,30,21,30,"i"],[28,31,21,31],[28,33,21,33],[28,35,21,35],[29,6,22,8,"result"],[29,12,22,14],[29,13,22,15,"i"],[29,14,22,16],[29,15,22,17],[29,18,22,20,"i"],[29,19,22,21],[29,22,22,24,"startAt"],[29,29,22,31],[30,4,23,4],[31,4,24,4],[31,11,24,11,"result"],[31,17,24,17],[32,2,25,0],[33,0,25,1],[33,3]],"functionMap":{"names":["<global>","arrayRange"],"mappings":"AAA;OCe;CDS"},"hasCjsExports":false},"type":"js/module"}]}