Groovy web console

subscribe to the feed Subscribe
to this
site

test2

Published 3 weeks ago by kek
Actions Execute script  ▶ Edit in console Back to console Show/hide line numbers View recent scripts
def childMap = ["childKek1": "test1"]
def testMap = ["kek1": "valu1", "kek2": "value2", "kek3": childMap]
def newMap = testMap.clone()
newMap.kek1 = "NEWVAL"
newMap.kek3.test = "NEWVAL"
print(newMap)
print(testMap)