mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-18 13:49:59 +01:00
doc/site/functions Fn.new() clarification [minor] (#931)
In the description of Fn.new(): - Fix a typo - Add the referent of "that" for clarity
This commit is contained in:
@ -72,8 +72,8 @@ var someFn = Fn.new {
|
|||||||
}
|
}
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
As you can see it takes a block argument too! All the constructor does it
|
As you can see it takes a block argument too! All the constructor does is
|
||||||
return that, so this exists purely as a convenience method for you.
|
return that argument, so this exists purely as a convenience method for you.
|
||||||
|
|
||||||
## Calling functions
|
## Calling functions
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user