Groovy web console

subscribe to the feed Subscribe
to this
site

Examle

Published 4 months ago by Mati G
Actions Execute script  ▶ Edit in console Back to console Show/hide line numbers View recent scripts
void changeNameAndSurname(List x){
x.add("b")
}

List a=["a"]
println a
changeNameAndSurname(a)
println a