1 var arr1 = [] 2 var arr2 = Array<Int>() 3 var arr3 = [Int]() ... 元素3 //返回大于2的元素组成的数组 4 let filterArr = arr.filter { $0 > 2 }.
確定! 回上一頁