Groovy dołącz do listy

list = [1,2]
list.add([3,4])
println(list)
// [1,2,3,4]
Tense Tarantula