The dropLast function ignores the last number of elements in the list:
newList = numbers.dropLast(5)
println("Drop last 5 elements")
println(newList)
The dropLast function ignores the last number of elements in the list:
newList = numbers.dropLast(5)
println("Drop last 5 elements")
println(newList)
3.133.122.68