2024-06-07 11:37:53 +02:00
|
|
|
{
|
2024-06-12 11:46:11 +02:00
|
|
|
let r := [1, 2, {'d': (1, 3, 42, 6)}]
|
2024-07-18 14:20:38 +02:00
|
|
|
print(r.3.d.2)
|
2024-06-07 11:37:53 +02:00
|
|
|
}
|
|
|
|
{
|
2024-06-12 11:46:11 +02:00
|
|
|
let r := [1, 2, {'d': (1, 3, 42, 6)}]
|
2024-07-18 14:20:38 +02:00
|
|
|
print(r[3].d[3])
|
2024-06-07 11:37:53 +02:00
|
|
|
}
|
|
|
|
{
|
2024-06-12 11:46:11 +02:00
|
|
|
let r := [1, 2, {'d': (1, 3, 42, 6)}]
|
2024-07-18 14:20:38 +02:00
|
|
|
print(r.3['d'][4])
|
2024-06-07 11:37:53 +02:00
|
|
|
}
|
|
|
|
{
|
2024-06-12 11:46:11 +02:00
|
|
|
let r := {'d': (1, 3, 42, 6)}
|
2024-07-18 14:20:38 +02:00
|
|
|
print(r.d.2)
|
2024-06-07 11:37:53 +02:00
|
|
|
}
|
|
|
|
{
|
2024-06-12 11:46:11 +02:00
|
|
|
let r := [1, 2, {'d': [1, 3, 42, 3]}]
|
2024-07-18 14:20:38 +02:00
|
|
|
r.3.d.3 := 3
|
|
|
|
print(r.3.d.3)
|
2024-06-07 11:37:53 +02:00
|
|
|
}
|
|
|
|
{
|
2024-06-12 11:46:11 +02:00
|
|
|
let r := [1, 2, {'d': [1, 3, 42, 3]}]
|
2024-07-18 14:20:38 +02:00
|
|
|
r[3].d[3] := 3
|
|
|
|
print(r[3].d[3])
|
2024-06-07 11:37:53 +02:00
|
|
|
}
|
|
|
|
{
|
2024-06-12 11:46:11 +02:00
|
|
|
let r := [1, 2, {'d': [1, 3, 42, 3]}]
|
2024-07-18 14:20:38 +02:00
|
|
|
r[3].c := [666]
|
|
|
|
print(r[3])
|
2024-06-07 11:37:53 +02:00
|
|
|
}
|
|
|
|
{
|
2024-06-12 11:46:11 +02:00
|
|
|
let r := [1, 2, {'d': [1, 3, 42, 3]}]
|
2024-07-18 14:20:38 +02:00
|
|
|
r[3].d[3] := 3
|
|
|
|
print(r[3].d)
|
2024-06-07 11:37:53 +02:00
|
|
|
}
|
|
|
|
{
|
2024-06-12 11:46:11 +02:00
|
|
|
let r := [1, 2, {'d': [1, 3, 42, 3]}]
|
2024-07-18 14:20:38 +02:00
|
|
|
r.3['d'] := ['a', 'b', 'c', 'd']
|
|
|
|
print(r[3].d[3])
|
2024-06-07 11:37:53 +02:00
|
|
|
}
|
|
|
|
{
|
2024-06-12 11:46:11 +02:00
|
|
|
let r := [1, 2, {'d': [1, 3, 42, 3]}]
|
|
|
|
let g := 'd'
|
2024-07-18 14:20:38 +02:00
|
|
|
r.3[g] := ['a', 'b', 'c', 'd']
|
|
|
|
print(r[3].d[3])
|
2024-06-07 11:37:53 +02:00
|
|
|
}
|
|
|
|
{
|
|
|
|
let event := {
|
|
|
|
'event': '$pageview',
|
|
|
|
'properties': {
|
|
|
|
'$browser': 'Chrome',
|
|
|
|
'$os': 'Windows'
|
|
|
|
}
|
2024-06-12 11:46:11 +02:00
|
|
|
}
|
|
|
|
event['properties']['$browser'] := 'Firefox'
|
|
|
|
print(event)
|
2024-06-07 11:37:53 +02:00
|
|
|
}
|
|
|
|
{
|
|
|
|
let event := {
|
|
|
|
'event': '$pageview',
|
|
|
|
'properties': {
|
|
|
|
'$browser': 'Chrome',
|
|
|
|
'$os': 'Windows'
|
|
|
|
}
|
2024-06-12 11:46:11 +02:00
|
|
|
}
|
|
|
|
event.properties.$browser := 'Firefox'
|
|
|
|
print(event)
|
2024-06-07 11:37:53 +02:00
|
|
|
}
|
|
|
|
{
|
|
|
|
let event := {
|
|
|
|
'event': '$pageview',
|
|
|
|
'properties': {
|
|
|
|
'$browser': 'Chrome',
|
|
|
|
'$os': 'Windows'
|
|
|
|
}
|
2024-06-12 11:46:11 +02:00
|
|
|
}
|
|
|
|
let config := {}
|
|
|
|
print(event)
|
2024-06-07 11:37:53 +02:00
|
|
|
}
|