1
0
Fork 0
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:
jackdotink 2024-10-19 16:47:39 -05:00
parent 9bb61ab2e9
commit 989783c5d6
No known key found for this signature in database

View file

@ -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)
```