YaroslavZhurbilo
5/9/2017 - 11:17 AM

From https://www.reddit.com/r/swift/comments/41vv94/what_does_three_dots_mean/

func sumOf(numbers: Int...) -> Int{

 var sum =  0

 for number in numbers {

          sum += number

 }
        return sum
}

sumOf()

sumOf(42, 597, 12)