nl_tokens: Create and return an array of integers . Usage : $range ( 5 3 ) ; // [ 5 6 7 ] $range ( 5 ) ; // [ 0 1 2 3 4 ]
pl_tokens: function $range ( start , length ) { if ( arguments . <mask> === 1 ) { length = arguments [ 0 ] ; start = 0 ; } return Array . apply ( null , Array ( length ) ) . map ( function ( _ , index ) { return index + start ; } ) ; }