stubArray

Util
since 4.13.0

Returns

Array the new empty array.

This method returns a new empty array.

Example of Lodash _.stubArray

var arrays = _.times(2, _.stubArray);

console.log(arrays);
// => [[], []]

console.log(arrays[0] === arrays[1]);
// => false