0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-25 11:17:50 +01:00
posthog/hogvm/__tests__/dicts.hog
2024-06-20 14:05:15 +00:00

14 lines
344 B
Plaintext

print({})
print({'key': 'value'})
print({'key': 'value', 'other': 'thing'})
print({'key': {'otherKey': 'value'}})
print({key: 'value'})
let key := 3
print({key: 'value'})
print({'key': 'value', }.key)
print({'key': 'value'}['key'])
print({'key': {'otherKey': 'value'}}.key.otherKey)
print({'key': {'otherKey': 'value', } , }['key'].otherKey)