Groovy web console

subscribe to the feed Subscribe
to this
site
test (via #groovywebconsole)
tweet this snippet Tweet
this
script

test

Published 4 months ago by sagargiri with tags map
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
def m = [:]
m.putAt("a","b")
println m
m.putAll(["c":"d"])
println m
m["x"] = "y"
println m