Groovy web console

subscribe to the feed Subscribe
to this
site

Untitled

Published 2 months ago by Anonymous
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
def map = [foo:'bar', baz:'bam']
def map2 = map.clone()

map2['foo'] = 'new'

println(map)
println(map2)