📅  最后修改于: 2022-03-11 14:53:33.286000             🧑  作者: Mango
代码示例1
val collection = listOf('a', 'b', 'c')
println(collection.indices) // 0..2
for(i in collection.indices) {
println(i)
}