Groovy web console

subscribe to the feed Subscribe
to this
site

test1

Published 1 month ago by vs
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
a=["ethernets": ["foo":[:], "bar": [:]]]

c='c'

a.get('ethernets') << [c: [:]]
print(a)