fn.js 101 B

123
  1. module.exports = {
  2. parseCount: ( i ) => Math.min( Math.max( parseInt( i, 10 ) || 1, 1 ), 500 )
  3. }