Example 1 — Official: _.times + stubFalse
Build an array of false values.
_.times(2, _.stubFalse);
// → [false, false] How It Works
- Pass by reference.
_.stubFalse— no trailing(). - Invoke twice.
_.timescalls it for indexes0and1. - Each call. Returns
false. - Collect. Result array is
[false, false].

