c6e86fd87ccb4f96eeb004b6ed4d11c1.json 1.64 KB
{"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\n  while (++index < n) {\n    result[index] = iteratee(index);\n  }\n\n  return result;\n}\n\nmodule.exports = baseTimes;","map":{"version":3,"sources":["C:/Users/kkwan_000/Desktop/git/2017110269/minsung/node_modules/lodash/_baseTimes.js"],"names":["baseTimes","n","iteratee","index","result","Array","module","exports"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,SAAT,CAAmBC,CAAnB,EAAsBC,QAAtB,EAAgC;AAC9B,MAAIC,KAAK,GAAG,CAAC,CAAb;AAAA,MACIC,MAAM,GAAGC,KAAK,CAACJ,CAAD,CADlB;;AAGA,SAAO,EAAEE,KAAF,GAAUF,CAAjB,EAAoB;AAClBG,IAAAA,MAAM,CAACD,KAAD,CAAN,GAAgBD,QAAQ,CAACC,KAAD,CAAxB;AACD;;AACD,SAAOC,MAAP;AACD;;AAEDE,MAAM,CAACC,OAAP,GAAiBP,SAAjB","sourcesContent":["/**\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\n  while (++index < n) {\n    result[index] = iteratee(index);\n  }\n  return result;\n}\n\nmodule.exports = baseTimes;\n"]},"metadata":{},"sourceType":"script"}