📜  快速获取数组长度代码示例

📅  最后修改于: 2022-03-11 15:00:58.210000             🧑  作者: Mango

代码示例1
// Initialize the Array
var a = [1,2,3]

// Get the size of the array

let size = a.count
print(size)