mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-25 11:17:50 +01:00
16 lines
310 B
Plaintext
16 lines
310 B
Plaintext
print('-- test if else --');
|
|
{
|
|
if (true) print(1); else print(2);
|
|
if (true) print(1); else print(2);
|
|
if (false) print(1); else print(2);
|
|
if (true) { print(1); } else { print(2); }
|
|
|
|
let a := true;
|
|
if (a) {
|
|
let a := 3;
|
|
print(a + 2);
|
|
} else {
|
|
print(2);
|
|
}
|
|
}
|