Skip to content

Commit

Permalink
Update example_versioned_docs/version-latest/16-closures.md
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Rybicki <chrisr@monada.co>
  • Loading branch information
boyney123 and Chriscbr authored Sep 11, 2024
1 parent e0eef56 commit 51c3f10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example_versioned_docs/version-latest/16-closures.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: Closures with Wing
keywords: [Wing language, variadic]
---

Closures are functions that captures variables from its surrounding lexical scope, allowing those variables to persist even after the function is executed outside its original context
[Closures](https://en.wikipedia.org/wiki/Closure_(computer_programming)) are functions that captures variables from its surrounding lexical scope, allowing those variables to persist even after the function is executed outside its original context.


```js playground example title="main.w"
Expand Down

0 comments on commit 51c3f10

Please sign in to comment.