From 5dfc4cd608b7345eaf7edf214bf97f5489f25fc3 Mon Sep 17 00:00:00 2001 From: Bobby Date: Wed, 24 Jan 2024 21:57:57 +0000 Subject: Updated Documentation --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3626b29..ddbcd46 100644 --- a/README.md +++ b/README.md @@ -56,5 +56,9 @@ fn subtract(x, y) { } // this will either add x and y if x is less than y, or return the difference between x and y -let result = if (x < y) { add(x, y) } else { subtract(x, y) }; +let result = if (x < y) { + add(x, y) +} else { + subtract(x, y) +}; // result = 15 ``` \ No newline at end of file -- cgit v1.2.3