Skip to content

Commit

Permalink
Clarify working of closures in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
James-Livesey authored Aug 25, 2024
1 parent 9e86b0f commit 470db55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Examples of Voxel programs can be found in the [`examples`](examples) and [`test

## Key features of the Voxel programming language
* **Functions** — named and anonymous
* **Closures** that allow references to non-global variables outside a function's scope
* **Closures** that allow access to non-global variables outside a function's scope
* [**Spread and rest syntax (`...`)**](docs/en/voxel/spreadrest.md) to dynamically provide argument values to functions and allow functions to become variadic
* [**Expressions**](docs/en/voxel/expressions.md) that follow a defined operator precedence
* **Short-circuit evaluation** of logical operators using `&&` and `||` (evaluation of subsequent operands is aborted if result's value is guaranteed to be `true` or `false`)
Expand Down

0 comments on commit 470db55

Please sign in to comment.