mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-25 11:17:50 +01:00
5c90d21751
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
21 lines
484 B
Plaintext
21 lines
484 B
Plaintext
print([])
|
|
print([1, 2, 3])
|
|
print([1, '2', 3, ])
|
|
print([1, [2, 3], 4])
|
|
print([1, [2, [3, 4]], 5])
|
|
|
|
let a := [1, 2, 3]
|
|
print(a[1])
|
|
print(a?.[1])
|
|
print(a?.1)
|
|
print(a?.[6])
|
|
print(a?.6)
|
|
print([1, 2, 3][1], )
|
|
print([1, [2, [3, 4], ], 5][1][1][1])
|
|
print([1, [2, [3, 4], ], 5]?.1?.1?.1)
|
|
print([1, [2, [3, 4], ], 5]?.[1]?.[1]?.[1])
|
|
print([1, [2, [3, 4], ], 5]?.6?.3?.1)
|
|
print([1, [2, [3, 4], ], 5]?.[6]?.[3]?.[1])
|
|
print([1, [2, [3, 4]], 5][1][1][1] + 1)
|
|
print([1, [2, [3, 4, ], ], 5, ].1.1.1)
|