Groovy web console

subscribe to the feed Subscribe
to this
site

dictionaries

Published 5 days ago by batman
Actions Execute script  ▶ Edit in console Back to console Show/hide line numbers View recent scripts
def xs = [:]
xs.a = 4
xs.b = 8

println xs

def ys = [
    'a': 4,
    'b': 8
]

println ys