_.stubArray()
This method returns a new empty array.
Since
4.13.0
Returns
(Array): Returns the new empty array.
Example
var arrays = _.times(2, _.stubArray); console.log(arrays); // => [[], []] console.log(arrays[0] === arrays[1]); // => false
Please login to continue.