fun main() { // val stops rebinding, but the list itself can still change val list = mutableListOf(1, 2) list.add(3) println(list) }
not the object's contents