1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib/v/tests/repl/array_method.repl

11 lines
96 B
Plaintext

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