Skip to content

Commit

Permalink
Fix doble let syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
jpconsuegra committed Apr 8, 2024
1 parent f28941c commit 3481ec8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/conditionals.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ let a = 42 in
The `if` expression supports multiple branches with the `elif` construction, which introduces another conditioned branch:

```js
let a = 42, let mod = a % 3 in
let a = 42, mod = a % 3 in
print(
if (mod == 0) "Magic"
elif (mod % 3 == 1) "Woke"
Expand Down

0 comments on commit 3481ec8

Please sign in to comment.