fdsfd
This commit is contained in:
parent
628618df89
commit
e031240dff
3749 changed files with 1120848 additions and 1 deletions
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;
|
Loading…
Add table
Add a link
Reference in a new issue