examples/groovy/return_multiple_values.gvy

def f() {
   return [2, 3]
}

(a, b) = f()
println a
println b