Skip to content

Commit

Permalink
Update example_versioned_docs/version-latest/17-recursion.md
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Rybicki <[email protected]>
  • Loading branch information
boyney123 and Chriscbr authored Sep 9, 2024
1 parent ce79fe6 commit 22b0fbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example_versioned_docs/version-latest/17-recursion.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ keywords: [Wing language, variadic]
---

```js playground example title="main.w"
let fact = (n: num):num => {
if(n == 0){
let fact = (n: num): num => {
if n == 0 {
return 1;
}
return n * fact(n - 1);
Expand Down

0 comments on commit 22b0fbc

Please sign in to comment.