code: function parse(value) {
    var values = []
    var input = String(value || empty)
    var index = input.indexOf(comma)
    var lastIndex = 0
    var end = false
    var val
  
    while (!end) {
      if (index === -1) {
        index = input.length
        end = true
      }
  
      val = input.slice(lastIndex, index).trim()
  
      if (val || !end) {
        values.push(val)
      }
  
      lastIndex = index + 1
      index = input.indexOf(comma, lastIndex)
    }
  
    return values
  }
docs: /* Parse comma-separated tokens to an array.