summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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