diff options
| author | Bobby <[email protected]> | 2024-01-24 21:57:57 +0000 |
|---|---|---|
| committer | Bobby <[email protected]> | 2024-01-24 21:57:57 +0000 |
| commit | 5dfc4cd608b7345eaf7edf214bf97f5489f25fc3 (patch) | |
| tree | 95fe0c0cb10dca4ce158e96e98e5c4012346bfa8 | |
| parent | 5fb0537d7aa1efa0782658a612dd6a1ead68aa71 (diff) | |
| download | mana-5dfc4cd608b7345eaf7edf214bf97f5489f25fc3.tar.xz mana-5dfc4cd608b7345eaf7edf214bf97f5489f25fc3.zip | |
Updated Documentation
| -rw-r--r-- | README.md | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |
