1004e4226bf4d59a0c3e3c889dd2052996da977e382cbb079a677790a8abd161.json 609 B

1
  1. {"ast":null,"code":"/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n}\nexport default baseTimes;","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}