mut arr := [1, 2, 3] arr arr.delete_last() arr arr.clear() arr ===output=== [1, 2, 3] [1, 2] []