This commit is contained in:
zznty
2024-06-02 21:49:11 +07:00
parent 4146027cb7
commit 529fe260da
585 changed files with 1685 additions and 1214 deletions

View File

@@ -0,0 +1,23 @@
/**
* 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;