summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorthekovic <72971433+thekovic@users.noreply.github.com>2026-01-15 09:42:47 +0100
committerthekovic <72971433+thekovic@users.noreply.github.com>2026-01-15 09:42:47 +0100
commitbd94562d43cf182fc5df5421599ff015578a2891 (patch)
tree178f81343178c29271dc0b68d13aacf971f2a8a6 /README.md
parent25d2266e6df634560bec6284391b8047a166ee75 (diff)
README: Fix ternary operator example syntax
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 219c8db..bea5caa 100644
--- a/README.md
+++ b/README.md
@@ -189,7 +189,7 @@ if x > 10 {
}
// Ternary
-var y = if x > 10 ? 1 : 0;
+var y = x > 10 ? 1 : 0;
```
#### Pattern Matching