index.js
function applyNSync () {
  var args = Array.prototype.slice.call(arguments)
  var fn = args.shift()
  var num = args.shift()

  var arr = []

  for (var i = 0; i < num; ++i) {
    arr.push(fn.apply(null, args))
  }

  return arr
}
function applyNSync () {
  var args = Array.prototype.slice.call(arguments)
  var fn = args.shift()
  var num = args.shift()

  var arr = []

  for (var i = 0; i < num; ++i) {
    arr.push(fn.apply(null, args))
  }

  return arr
}
function applyNSync ( ) { var args = Array . prototype . slice . call ( arguments ) var fn = args . shift ( ) var num = args . shift ( ) var arr = [ ] for ( var i = 0 ; i < num ; ++ i ) { arr . push ( fn . apply ( null , args ) ) } return arr }
Apply a function a number of times, returning an array of the results.

@param {Function} fn the function to call on each
@param {Number} num the size of the array to generate
@param {*} args... a list of args to pass to the function fn
@returns {Array} the filled array
Apply a function a number of times returning an array of the results .