Current File : /home/tradevaly/text.tradevaly.com.bd/node_modules/collect.js/dist/methods/times.js
'use strict';

module.exports = function times(n, fn) {
  for (var iterator = 1; iterator <= n; iterator += 1) {
    this.items.push(fn(iterator));
  }

  return this;
};