Passing the collection's starting index as the end parameter results in an empty subsequence. print(numbers.prefix(upTo: numbers.startIndex)) // Prints "[]".
確定! 回上一頁