mirror of
https://github.com/luau-lang/rfcs.git
synced 2025-04-13 23:10:54 +01:00
fix baz to be foo
This commit is contained in:
parent
9bb61ab2e9
commit
989783c5d6
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ attributes 'function' [NAME] funcbody
|
|||
This adds an optional name in function expressions, which can be used like so:
|
||||
|
||||
```luau
|
||||
baz(function factorial(n)
|
||||
foo(function factorial(n)
|
||||
return if n == 1 then 1 else n * factorial(n - 1)
|
||||
end)
|
||||
```
|
||||
|
|
Loading…
Add table
Reference in a new issue