error: operator is not a known binary operator
for x in 1..10
版本更新,开区间 改为 “..<”
var arr = String[]()
array types are now written with the brackets around the element type
版本更新,改为var arr:[String] = [String]()
error: operator is not a known binary operator
for x in 1..10
版本更新,开区间 改为 “..<”
var arr = String[]()
array types are now written with the brackets around the element type
版本更新,改为var arr:[String] = [String]()