code: function to_array(args) {
      var len = args.length,
          arr = new Array(len), i;
  
      for (i = 0; i < len; i += 1) {
          arr[i] = args[i];
      }
  
      return arr;
  }
docs: to_array from mranney / node_redis