feat: initial commit
This commit is contained in:
23
node_modules/lodash/stubArray.js
generated
vendored
Normal file
23
node_modules/lodash/stubArray.js
generated
vendored
Normal 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;
|
Reference in New Issue
Block a user