function times(n, callback, thisArg) {
      n = (n = +n) > -1 ? n : 0;
      var index = -1,
          result = Array(n);

      callback = baseCreateCallback(callback, thisArg, 1);
      while (++index < n) {
        result[index] = callback(index);
      }
      return result;
    }
Executes the callback `n` times, returning an array of the results
of each callback execution. The callback is bound to `thisArg` and invoked
with one argument; (index).

@static
@memberOf _
@category Utilities
@param {number} n The number of times to execute the callback.
@param {Function} callback The function called per iteration.
@param {*} [thisArg] The `this` binding of `callback`.
@returns {Array} Returns an array of the results of each `callback` execution.
@example

var diceRolls = _.times(3, _.partial(_.random, 1, 6));
// => [3, 6, 4]

_.times(3, function(n) { mage.castSpell(n); });
// => calls `mage.castSpell(n)` three times, passing `n` of `0`, `1`, and `2` respectively

_.times(3, function(n) { this.cast(n); }, mage);
// => also calls `mage.castSpell(n)` three times