src/array/limitBy.js
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
}
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
}
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 }
Limit filter for arrays

@param {Number} n
@param {Number} offset (Decimal expected)
Limit filter for arrays