code: function limitBy (arr, n, offset) {
    offset = offset ? parseInt(offset, 10) : 0
    n = util.toNumber(n)
    return typeof n === 'number'
      ? arr.slice(offset, offset + n)
      : arr
  }
docs: Limit filter for arrays
  
  @param {Number} n
  @param {Number} offset (Decimal expected)