RosettaCodeData/Task/Null-object/11l/null-object.11l

9 lines
80 B
Plaintext

F f([Int]? &a)
I a != N
a.append(1)
f(N)
[Int] arr
f(&arr)
print(arr)