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.144.91.47