Urara-Blog/node_modules/.pnpm-store/v3/files/1b/f1ece6699ecb25b0b80c57a098fa66f3fcdca35b839759e03a77f4f23be6afdc1f04a134f2b664a8b5ce3e4a155be3bdb1b5ae1bc4ff03f22e943027044ee7
2022-08-14 01:14:53 +08:00

23 lines
390 B
Text

/**
* This method returns a new empty array.
*
* @static
* @memberOf _
* @since 4.13.0
* @category Util
* @returns {Array} Returns the new empty array.
* @example
*
* var arrays = _.times(2, _.stubArray);
*
* console.log(arrays);
* // => [[], []]
*
* console.log(arrays[0] === arrays[1]);
* // => false
*/
function stubArray() {
return [];
}
module.exports = stubArray;