twitst4tz

twitter statistics web application
Log | Files | Refs | README | LICENSE

index.js (216B)


      1 module.exports = toArray
      2 
      3 function toArray(list, index) {
      4     var array = []
      5 
      6     index = index || 0
      7 
      8     for (var i = index || 0; i < list.length; i++) {
      9         array[i - index] = list[i]
     10     }
     11 
     12     return array
     13 }