Icard/angular-clarity-master(work.../node_modules/lodash-es/stubArray.js

24 lines
388 B
JavaScript
Raw Normal View History

2024-07-16 14:55:36 +00:00
/**
* 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 [];
}
export default stubArray;